#012571 ≈ Midnight Blue
#012571 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.39% red, 14.51% green and 44.31% blue; printed in CMYK it uses 99.12% cyan, 67.26% magenta, 0% yellow and 55.69% black. Its hue angle is 220.71°, with 98.25% saturation and 22.35% 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 13.96:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.91.
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.0252 |
Shades
#012571 mixed progressively with black.
Tints
#012571 mixed progressively with white.
Tones
#012571 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-012571 {
color: #012571;
}
.bg-012571 {
background-color: #012571;
color: #ffffff;
}
.border-012571 {
border: 2px solid #012571;
}
:root {
--color-primary: #012571;
--color-primary-rgb: 1 37 113;
--color-primary-hsl: 221 98% 22%;
}
.gradient-012571 {
background: linear-gradient(135deg, #012571, #150171);
}
.shadow-012571 {
box-shadow: 0 8px 24px rgb(1 37 113 / 0.35);
}
Midnight Blue
#012571 rgb(1, 37, 113) hsl(221, 98%, 22%) Midnight Blue
#714d01 rgb(113, 77, 1) hsl(41, 98%, 22%) Field Drab
#710125 rgb(113, 1, 37) hsl(341, 98%, 22%) Claret
#257101 rgb(37, 113, 1) hsl(101, 98%, 22%) Pakistan Green