#012170 ≈ Midnight Blue
#012170 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.39% red, 12.94% green and 43.92% blue; printed in CMYK it uses 99.11% cyan, 70.54% magenta, 0% yellow and 56.08% black. Its hue angle is 222.7°, with 98.23% saturation and 22.16% 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.45:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.68.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0226 |
Shades
#012170 mixed progressively with black.
Tints
#012170 mixed progressively with white.
Tones
#012170 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-012170 {
color: #012170;
}
.bg-012170 {
background-color: #012170;
color: #ffffff;
}
.border-012170 {
border: 2px solid #012170;
}
:root {
--color-primary: #012170;
--color-primary-rgb: 1 33 112;
--color-primary-hsl: 223 98% 22%;
}
.gradient-012170 {
background: linear-gradient(135deg, #012170, #180170);
}
.shadow-012170 {
box-shadow: 0 8px 24px rgb(1 33 112 / 0.35);
}
Midnight Blue
#012170 rgb(1, 33, 112) hsl(223, 98%, 22%) Midnight Blue
#705001 rgb(112, 80, 1) hsl(43, 98%, 22%) Field Drab
#700121 rgb(112, 1, 33) hsl(343, 98%, 22%) Burgundy
#217001 rgb(33, 112, 1) hsl(103, 98%, 22%) Pakistan Green