#0b167a ≈ Midnight Blue
#0b167a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.31% red, 8.63% green and 47.84% blue; printed in CMYK it uses 90.98% cyan, 81.97% magenta, 0% yellow and 52.16% black. Its hue angle is 234.05°, with 83.46% saturation and 26.08% 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 14.89:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.06.
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.0205 |
Shades
#0b167a mixed progressively with black.
Tints
#0b167a mixed progressively with white.
Tones
#0b167a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0b167a {
color: #0b167a;
}
.bg-0b167a {
background-color: #0b167a;
color: #ffffff;
}
.border-0b167a {
border: 2px solid #0b167a;
}
:root {
--color-primary: #0b167a;
--color-primary-rgb: 11 22 122;
--color-primary-hsl: 234 83% 26%;
}
.gradient-0b167a {
background: linear-gradient(135deg, #0b167a, #370b7a);
}
.shadow-0b167a {
box-shadow: 0 8px 24px rgb(11 22 122 / 0.35);
}
Midnight Blue
#0b167a rgb(11, 22, 122) hsl(234, 83%, 26%) Midnight Blue
#7a6f0b rgb(122, 111, 11) hsl(54, 83%, 26%) Olive
#7a0b16 rgb(122, 11, 22) hsl(354, 83%, 26%) Falu Red
#167a0b rgb(22, 122, 11) hsl(114, 83%, 26%) Green