#2e2154 ≈ Midnight Blue
#2e2154 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 18.04% red, 12.94% green and 32.94% blue; printed in CMYK it uses 45.24% cyan, 60.71% magenta, 0% yellow and 67.06% black. Its hue angle is 255.29°, with 43.59% saturation and 22.94% 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.37:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.01.
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.0231 |
Shades
#2e2154 mixed progressively with black.
Tints
#2e2154 mixed progressively with white.
Tones
#2e2154 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e2154 {
color: #2e2154;
}
.bg-2e2154 {
background-color: #2e2154;
color: #ffffff;
}
.border-2e2154 {
border: 2px solid #2e2154;
}
:root {
--color-primary: #2e2154;
--color-primary-rgb: 46 33 84;
--color-primary-hsl: 255 44% 23%;
}
.gradient-2e2154 {
background: linear-gradient(135deg, #2e2154, #472154);
}
.shadow-2e2154 {
box-shadow: 0 8px 24px rgb(46 33 84 / 0.35);
}
Midnight Blue
#2e2154 rgb(46, 33, 84) hsl(255, 44%, 23%) Midnight Blue
#475421 rgb(71, 84, 33) hsl(75, 44%, 23%) Army Green
#542e21 rgb(84, 46, 33) hsl(15, 44%, 23%) Caput Mortuum
#21542e rgb(33, 84, 46) hsl(135, 44%, 23%) Hunter Green