#21014c ≈ Midnight Blue
#21014c is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 12.94% red, 0.39% green and 29.8% blue; printed in CMYK it uses 56.58% cyan, 98.68% magenta, 0% yellow and 70.2% black. Its hue angle is 265.6°, with 97.4% saturation and 15.1% 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 17.9:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.14.
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.0087 |
Shades
#21014c mixed progressively with black.
Tints
#21014c mixed progressively with white.
Tones
#21014c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-21014c {
color: #21014c;
}
.bg-21014c {
background-color: #21014c;
color: #ffffff;
}
.border-21014c {
border: 2px solid #21014c;
}
:root {
--color-primary: #21014c;
--color-primary-rgb: 33 1 76;
--color-primary-hsl: 266 97% 15%;
}
.gradient-21014c {
background: linear-gradient(135deg, #21014c, #47014c);
}
.shadow-21014c {
box-shadow: 0 8px 24px rgb(33 1 76 / 0.35);
}
Midnight Blue
#21014c rgb(33, 1, 76) hsl(266, 97%, 15%) Midnight Blue
#2c4c01 rgb(44, 76, 1) hsl(86, 97%, 15%) Lincoln Green
#4c2101 rgb(76, 33, 1) hsl(26, 97%, 15%) Caput Mortuum
#014c21 rgb(1, 76, 33) hsl(146, 97%, 15%) British Racing Green