#06166f ≈ Midnight Blue
#06166f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 2.35% red, 8.63% green and 43.53% blue; printed in CMYK it uses 94.59% cyan, 80.18% magenta, 0% yellow and 56.47% black. Its hue angle is 230.86°, with 89.74% saturation and 22.94% 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.53:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.48.
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.0176 |
Shades
#06166f mixed progressively with black.
Tints
#06166f mixed progressively with white.
Tones
#06166f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-06166f {
color: #06166f;
}
.bg-06166f {
background-color: #06166f;
color: #ffffff;
}
.border-06166f {
border: 2px solid #06166f;
}
:root {
--color-primary: #06166f;
--color-primary-rgb: 6 22 111;
--color-primary-hsl: 231 90% 23%;
}
.gradient-06166f {
background: linear-gradient(135deg, #06166f, #2b066f);
}
.shadow-06166f {
box-shadow: 0 8px 24px rgb(6 22 111 / 0.35);
}
Midnight Blue
#06166f rgb(6, 22, 111) hsl(231, 90%, 23%) Midnight Blue
#6f5f06 rgb(111, 95, 6) hsl(51, 90%, 23%) Field Drab
#6f0616 rgb(111, 6, 22) hsl(351, 90%, 23%) Rosewood
#166f06 rgb(22, 111, 6) hsl(111, 90%, 23%) Pakistan Green