#062571 ≈ Midnight Blue
#062571 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 2.35% red, 14.51% green and 44.31% blue; printed in CMYK it uses 94.69% cyan, 67.26% magenta, 0% yellow and 55.69% black. Its hue angle is 222.62°, with 89.92% saturation and 23.33% 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.9:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.67.
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.0255 |
Shades
#062571 mixed progressively with black.
Tints
#062571 mixed progressively with white.
Tones
#062571 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-062571 {
color: #062571;
}
.bg-062571 {
background-color: #062571;
color: #ffffff;
}
.border-062571 {
border: 2px solid #062571;
}
:root {
--color-primary: #062571;
--color-primary-rgb: 6 37 113;
--color-primary-hsl: 223 90% 23%;
}
.gradient-062571 {
background: linear-gradient(135deg, #062571, #1d0671);
}
.shadow-062571 {
box-shadow: 0 8px 24px rgb(6 37 113 / 0.35);
}
Midnight Blue
#062571 rgb(6, 37, 113) hsl(223, 90%, 23%) Midnight Blue
#715206 rgb(113, 82, 6) hsl(43, 90%, 23%) Field Drab
#710625 rgb(113, 6, 37) hsl(343, 90%, 23%) Claret
#257106 rgb(37, 113, 6) hsl(103, 90%, 23%) Pakistan Green