#2d1e4e ≈ Midnight Blue
#2d1e4e is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.65% red, 11.76% green and 30.59% blue; printed in CMYK it uses 42.31% cyan, 61.54% magenta, 0% yellow and 69.41% black. Its hue angle is 258.75°, with 44.44% saturation and 21.18% 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 14.92:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.93.
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.0204 |
Shades
#2d1e4e mixed progressively with black.
Tints
#2d1e4e mixed progressively with white.
Tones
#2d1e4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d1e4e {
color: #2d1e4e;
}
.bg-2d1e4e {
background-color: #2d1e4e;
color: #ffffff;
}
.border-2d1e4e {
border: 2px solid #2d1e4e;
}
:root {
--color-primary: #2d1e4e;
--color-primary-rgb: 45 30 78;
--color-primary-hsl: 259 44% 21%;
}
.gradient-2d1e4e {
background: linear-gradient(135deg, #2d1e4e, #451e4e);
}
.shadow-2d1e4e {
box-shadow: 0 8px 24px rgb(45 30 78 / 0.35);
}
Midnight Blue
#2d1e4e rgb(45, 30, 78) hsl(259, 44%, 21%) Midnight Blue
#3f4e1e rgb(63, 78, 30) hsl(79, 44%, 21%) Army Green
#4e2d1e rgb(78, 45, 30) hsl(19, 44%, 21%) Caput Mortuum
#1e4e2d rgb(30, 78, 45) hsl(139, 44%, 21%) British Racing Green