#0b126e ≈ Midnight Blue
#0b126e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.31% red, 7.06% green and 43.14% blue; printed in CMYK it uses 90% cyan, 83.64% magenta, 0% yellow and 56.86% black. Its hue angle is 235.76°, with 81.82% saturation and 23.73% 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.84:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.86.
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.0163 |
Shades
#0b126e mixed progressively with black.
Tints
#0b126e mixed progressively with white.
Tones
#0b126e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0b126e {
color: #0b126e;
}
.bg-0b126e {
background-color: #0b126e;
color: #ffffff;
}
.border-0b126e {
border: 2px solid #0b126e;
}
:root {
--color-primary: #0b126e;
--color-primary-rgb: 11 18 110;
--color-primary-hsl: 236 82% 24%;
}
.gradient-0b126e {
background: linear-gradient(135deg, #0b126e, #360b6e);
}
.shadow-0b126e {
box-shadow: 0 8px 24px rgb(11 18 110 / 0.35);
}
Midnight Blue
#0b126e rgb(11, 18, 110) hsl(236, 82%, 24%) Midnight Blue
#6e670b rgb(110, 103, 11) hsl(56, 82%, 24%) Olive
#6e0b12 rgb(110, 11, 18) hsl(356, 82%, 24%) Rosewood
#126e0b rgb(18, 110, 11) hsl(116, 82%, 24%) Pakistan Green