#201d52 ≈ Midnight Blue
#201d52 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 12.55% red, 11.37% green and 32.16% blue; printed in CMYK it uses 60.98% cyan, 64.63% magenta, 0% yellow and 67.84% black. Its hue angle is 243.4°, with 47.75% saturation and 21.76% 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.45:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.61.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.018 |
Shades
#201d52 mixed progressively with black.
Tints
#201d52 mixed progressively with white.
Tones
#201d52 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-201d52 {
color: #201d52;
}
.bg-201d52 {
background-color: #201d52;
color: #ffffff;
}
.border-201d52 {
border: 2px solid #201d52;
}
:root {
--color-primary: #201d52;
--color-primary-rgb: 32 29 82;
--color-primary-hsl: 243 48% 22%;
}
.gradient-201d52 {
background: linear-gradient(135deg, #201d52, #3a1d52);
}
.shadow-201d52 {
box-shadow: 0 8px 24px rgb(32 29 82 / 0.35);
}
Midnight Blue
#201d52 rgb(32, 29, 82) hsl(243, 48%, 22%) Midnight Blue
#4f521d rgb(79, 82, 29) hsl(63, 48%, 22%) Army Green
#52201d rgb(82, 32, 29) hsl(3, 48%, 22%) Caput Mortuum
#1d5220 rgb(29, 82, 32) hsl(123, 48%, 22%) Lincoln Green