#211971 ≈ Midnight Blue
#211971 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 12.94% red, 9.8% green and 44.31% blue; printed in CMYK it uses 70.8% cyan, 77.88% magenta, 0% yellow and 55.69% black. Its hue angle is 245.45°, with 63.77% saturation and 27.06% 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.56:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 0.99.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0221 |
Shades
#211971 mixed progressively with black.
Tints
#211971 mixed progressively with white.
Tones
#211971 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-211971 {
color: #211971;
}
.bg-211971 {
background-color: #211971;
color: #ffffff;
}
.border-211971 {
border: 2px solid #211971;
}
:root {
--color-primary: #211971;
--color-primary-rgb: 33 25 113;
--color-primary-hsl: 245 64% 27%;
}
.gradient-211971 {
background: linear-gradient(135deg, #211971, #4d1971);
}
.shadow-211971 {
box-shadow: 0 8px 24px rgb(33 25 113 / 0.35);
}
Midnight Blue
#211971 rgb(33, 25, 113) hsl(245, 64%, 27%) Midnight Blue
#697119 rgb(105, 113, 25) hsl(65, 64%, 27%) Dark Olive Green
#712119 rgb(113, 33, 25) hsl(5, 64%, 27%) Falu Red
#197121 rgb(25, 113, 33) hsl(125, 64%, 27%) Pakistan Green