#2e2162 ≈ Midnight Blue
#2e2162 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 12.94% green and 38.43% blue; printed in CMYK it uses 53.06% cyan, 66.33% magenta, 0% yellow and 61.57% black. Its hue angle is 252°, with 49.62% saturation and 25.69% 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 13.91:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.03.
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.0255 |
Shades
#2e2162 mixed progressively with black.
Tints
#2e2162 mixed progressively with white.
Tones
#2e2162 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e2162 {
color: #2e2162;
}
.bg-2e2162 {
background-color: #2e2162;
color: #ffffff;
}
.border-2e2162 {
border: 2px solid #2e2162;
}
:root {
--color-primary: #2e2162;
--color-primary-rgb: 46 33 98;
--color-primary-hsl: 252 50% 26%;
}
.gradient-2e2162 {
background: linear-gradient(135deg, #2e2162, #4f2162);
}
.shadow-2e2162 {
box-shadow: 0 8px 24px rgb(46 33 98 / 0.35);
}
Midnight Blue
#2e2162 rgb(46, 33, 98) hsl(252, 50%, 26%) Midnight Blue
#556221 rgb(85, 98, 33) hsl(72, 50%, 26%) Dark Olive Green
#622e21 rgb(98, 46, 33) hsl(12, 50%, 26%) Caput Mortuum
#21622e rgb(33, 98, 46) hsl(132, 50%, 26%) Cadmium Green