#0d166a ≈ Midnight Blue
#0d166a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.1% red, 8.63% green and 41.57% blue; printed in CMYK it uses 87.74% cyan, 79.25% magenta, 0% yellow and 58.43% black. Its hue angle is 234.19°, with 78.15% saturation and 23.33% 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 15.67:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.45.
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.017 |
Shades
#0d166a mixed progressively with black.
Tints
#0d166a mixed progressively with white.
Tones
#0d166a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0d166a {
color: #0d166a;
}
.bg-0d166a {
background-color: #0d166a;
color: #ffffff;
}
.border-0d166a {
border: 2px solid #0d166a;
}
:root {
--color-primary: #0d166a;
--color-primary-rgb: 13 22 106;
--color-primary-hsl: 234 78% 23%;
}
.gradient-0d166a {
background: linear-gradient(135deg, #0d166a, #320d6a);
}
.shadow-0d166a {
box-shadow: 0 8px 24px rgb(13 22 106 / 0.35);
}
Midnight Blue
#0d166a rgb(13, 22, 106) hsl(234, 78%, 23%) Midnight Blue
#6a610d rgb(106, 97, 13) hsl(54, 78%, 23%) Field Drab
#6a0d16 rgb(106, 13, 22) hsl(354, 78%, 23%) Rosewood
#166a0d rgb(22, 106, 13) hsl(114, 78%, 23%) Pakistan Green