#201848 ≈ Midnight Blue
#201848 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 12.55% red, 9.41% green and 28.24% blue; printed in CMYK it uses 55.56% cyan, 66.67% magenta, 0% yellow and 71.76% black. Its hue angle is 250°, with 50% saturation and 18.82% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.33:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.34.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0143 |
Shades
#201848 mixed progressively with black.
Tints
#201848 mixed progressively with white.
Tones
#201848 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-201848 {
color: #201848;
}
.bg-201848 {
background-color: #201848;
color: #ffffff;
}
.border-201848 {
border: 2px solid #201848;
}
:root {
--color-primary: #201848;
--color-primary-rgb: 32 24 72;
--color-primary-hsl: 250 50% 19%;
}
.gradient-201848 {
background: linear-gradient(135deg, #201848, #381848);
}
.shadow-201848 {
box-shadow: 0 8px 24px rgb(32 24 72 / 0.35);
}
Midnight Blue
#201848 rgb(32, 24, 72) hsl(250, 50%, 19%) Midnight Blue
#404818 rgb(64, 72, 24) hsl(70, 50%, 19%) Army Green
#482018 rgb(72, 32, 24) hsl(10, 50%, 19%) Caput Mortuum
#184820 rgb(24, 72, 32) hsl(130, 50%, 19%) British Racing Green