#2b1e4d ≈ Midnight Blue
#2b1e4d is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 16.86% red, 11.76% green and 30.2% blue; printed in CMYK it uses 44.16% cyan, 61.04% magenta, 0% yellow and 69.8% black. Its hue angle is 256.6°, with 43.93% saturation and 20.98% 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 15.05:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.94.
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.0198 |
Shades
#2b1e4d mixed progressively with black.
Tints
#2b1e4d mixed progressively with white.
Tones
#2b1e4d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2b1e4d {
color: #2b1e4d;
}
.bg-2b1e4d {
background-color: #2b1e4d;
color: #ffffff;
}
.border-2b1e4d {
border: 2px solid #2b1e4d;
}
:root {
--color-primary: #2b1e4d;
--color-primary-rgb: 43 30 77;
--color-primary-hsl: 257 44% 21%;
}
.gradient-2b1e4d {
background: linear-gradient(135deg, #2b1e4d, #431e4d);
}
.shadow-2b1e4d {
box-shadow: 0 8px 24px rgb(43 30 77 / 0.35);
}
Midnight Blue
#2b1e4d rgb(43, 30, 77) hsl(257, 44%, 21%) Midnight Blue
#404d1e rgb(64, 77, 30) hsl(77, 44%, 21%) Army Green
#4d2b1e rgb(77, 43, 30) hsl(17, 44%, 21%) Caput Mortuum
#1e4d2b rgb(30, 77, 43) hsl(137, 44%, 21%) British Racing Green