#2e1b4e ≈ Midnight Blue
#2e1b4e is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 18.04% red, 10.59% green and 30.59% blue; printed in CMYK it uses 41.03% cyan, 65.38% magenta, 0% yellow and 69.41% black. Its hue angle is 262.35°, with 48.57% saturation and 20.59% 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.18:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.7.
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.0191 |
Shades
#2e1b4e mixed progressively with black.
Tints
#2e1b4e mixed progressively with white.
Tones
#2e1b4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e1b4e {
color: #2e1b4e;
}
.bg-2e1b4e {
background-color: #2e1b4e;
color: #ffffff;
}
.border-2e1b4e {
border: 2px solid #2e1b4e;
}
:root {
--color-primary: #2e1b4e;
--color-primary-rgb: 46 27 78;
--color-primary-hsl: 262 49% 21%;
}
.gradient-2e1b4e {
background: linear-gradient(135deg, #2e1b4e, #481b4e);
}
.shadow-2e1b4e {
box-shadow: 0 8px 24px rgb(46 27 78 / 0.35);
}
Midnight Blue
#2e1b4e rgb(46, 27, 78) hsl(262, 49%, 21%) Midnight Blue
#3b4e1b rgb(59, 78, 27) hsl(82, 49%, 21%) Army Green
#4e2e1b rgb(78, 46, 27) hsl(22, 49%, 21%) Bistre
#1b4e2e rgb(27, 78, 46) hsl(142, 49%, 21%) British Racing Green