#12084e ≈ Midnight Blue
#12084e is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 7.06% red, 3.14% green and 30.59% blue; printed in CMYK it uses 76.92% cyan, 89.74% magenta, 0% yellow and 69.41% black. Its hue angle is 248.57°, with 81.4% saturation and 16.86% 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.94:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.4.
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.0085 |
Shades
#12084e mixed progressively with black.
Tints
#12084e mixed progressively with white.
Tones
#12084e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-12084e {
color: #12084e;
}
.bg-12084e {
background-color: #12084e;
color: #ffffff;
}
.border-12084e {
border: 2px solid #12084e;
}
:root {
--color-primary: #12084e;
--color-primary-rgb: 18 8 78;
--color-primary-hsl: 249 81% 17%;
}
.gradient-12084e {
background: linear-gradient(135deg, #12084e, #35084e);
}
.shadow-12084e {
box-shadow: 0 8px 24px rgb(18 8 78 / 0.35);
}
Midnight Blue
#12084e rgb(18, 8, 78) hsl(249, 81%, 17%) Midnight Blue
#444e08 rgb(68, 78, 8) hsl(69, 81%, 17%) Army Green
#4e1208 rgb(78, 18, 8) hsl(9, 81%, 17%) Caput Mortuum
#084e12 rgb(8, 78, 18) hsl(129, 81%, 17%) Lincoln Green