#0d0b42 ≈ Midnight Blue
#0d0b42 is a color from the blue family, with very low lightness and muted saturation. In the RGB model it is made of 5.1% red, 4.31% green and 25.88% blue; printed in CMYK it uses 80.3% cyan, 83.33% magenta, 0% yellow and 74.12% black. Its hue angle is 242.18°, with 71.43% saturation and 15.1% 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 18.36:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0072 |
Shades
#0d0b42 mixed progressively with black.
Tints
#0d0b42 mixed progressively with white.
Tones
#0d0b42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0d0b42 {
color: #0d0b42;
}
.bg-0d0b42 {
background-color: #0d0b42;
color: #ffffff;
}
.border-0d0b42 {
border: 2px solid #0d0b42;
}
:root {
--color-primary: #0d0b42;
--color-primary-rgb: 13 11 66;
--color-primary-hsl: 242 71% 15%;
}
.gradient-0d0b42 {
background: linear-gradient(135deg, #0d0b42, #290b42);
}
.shadow-0d0b42 {
box-shadow: 0 8px 24px rgb(13 11 66 / 0.35);
}
Midnight Blue
#0d0b42 rgb(13, 11, 66) hsl(242, 71%, 15%) Midnight Blue
#40420b rgb(64, 66, 11) hsl(62, 71%, 15%) Army Green
#420d0b rgb(66, 13, 11) hsl(2, 71%, 15%) Caput Mortuum
#0b420d rgb(11, 66, 13) hsl(122, 71%, 15%) British Racing Green