#08104f ≈ Midnight Blue
#08104f is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 3.14% red, 6.27% green and 30.98% blue; printed in CMYK it uses 89.87% cyan, 79.75% magenta, 0% yellow and 69.02% black. Its hue angle is 233.24°, with 81.61% saturation and 17.06% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 17.54:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0099 |
Shades
#08104f mixed progressively with black.
Tints
#08104f mixed progressively with white.
Tones
#08104f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-08104f {
color: #08104f;
}
.bg-08104f {
background-color: #08104f;
color: #ffffff;
}
.border-08104f {
border: 2px solid #08104f;
}
:root {
--color-primary: #08104f;
--color-primary-rgb: 8 16 79;
--color-primary-hsl: 233 82% 17%;
}
.gradient-08104f {
background: linear-gradient(135deg, #08104f, #24084f);
}
.shadow-08104f {
box-shadow: 0 8px 24px rgb(8 16 79 / 0.35);
}
Midnight Blue
#08104f rgb(8, 16, 79) hsl(233, 82%, 17%) Midnight Blue
#4f4708 rgb(79, 71, 8) hsl(53, 82%, 17%) Army Green
#4f0810 rgb(79, 8, 16) hsl(353, 82%, 17%) Rosewood
#104f08 rgb(16, 79, 8) hsl(113, 82%, 17%) Lincoln Green