#2e1d61 ≈ Midnight Blue
#2e1d61 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 11.37% green and 38.04% blue; printed in CMYK it uses 52.58% cyan, 70.1% magenta, 0% yellow and 61.96% black. Its hue angle is 255°, with 53.97% saturation and 24.71% 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.34:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.74.
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.0232 |
Shades
#2e1d61 mixed progressively with black.
Tints
#2e1d61 mixed progressively with white.
Tones
#2e1d61 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e1d61 {
color: #2e1d61;
}
.bg-2e1d61 {
background-color: #2e1d61;
color: #ffffff;
}
.border-2e1d61 {
border: 2px solid #2e1d61;
}
:root {
--color-primary: #2e1d61;
--color-primary-rgb: 46 29 97;
--color-primary-hsl: 255 54% 25%;
}
.gradient-2e1d61 {
background: linear-gradient(135deg, #2e1d61, #501d61);
}
.shadow-2e1d61 {
box-shadow: 0 8px 24px rgb(46 29 97 / 0.35);
}
Midnight Blue
#2e1d61 rgb(46, 29, 97) hsl(255, 54%, 25%) Midnight Blue
#50611d rgb(80, 97, 29) hsl(75, 54%, 25%) Dark Olive Green
#612e1d rgb(97, 46, 29) hsl(15, 54%, 25%) Caput Mortuum
#1d612e rgb(29, 97, 46) hsl(135, 54%, 25%) Cadmium Green