#01166f ≈ Midnight Blue
#01166f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.39% red, 8.63% green and 43.53% blue; printed in CMYK it uses 99.1% cyan, 80.18% magenta, 0% yellow and 56.47% black. Its hue angle is 228.55°, with 98.21% saturation and 21.96% 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.61:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.75.
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.0173 |
Shades
#01166f mixed progressively with black.
Tints
#01166f mixed progressively with white.
Tones
#01166f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-01166f {
color: #01166f;
}
.bg-01166f {
background-color: #01166f;
color: #ffffff;
}
.border-01166f {
border: 2px solid #01166f;
}
:root {
--color-primary: #01166f;
--color-primary-rgb: 1 22 111;
--color-primary-hsl: 229 98% 22%;
}
.gradient-01166f {
background: linear-gradient(135deg, #01166f, #23016f);
}
.shadow-01166f {
box-shadow: 0 8px 24px rgb(1 22 111 / 0.35);
}
Midnight Blue
#01166f rgb(1, 22, 111) hsl(229, 98%, 22%) Midnight Blue
#6f5a01 rgb(111, 90, 1) hsl(49, 98%, 22%) Field Drab
#6f0116 rgb(111, 1, 22) hsl(349, 98%, 22%) Rosewood
#166f01 rgb(22, 111, 1) hsl(109, 98%, 22%) Pakistan Green