#2e124a ≈ Midnight Blue
#2e124a is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 18.04% red, 7.06% green and 29.02% blue; printed in CMYK it uses 37.84% cyan, 75.68% magenta, 0% yellow and 70.98% black. Its hue angle is 270°, with 60.87% saturation and 18.04% 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 16.13:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.19.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0151 |
Shades
#2e124a mixed progressively with black.
Tints
#2e124a mixed progressively with white.
Tones
#2e124a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e124a {
color: #2e124a;
}
.bg-2e124a {
background-color: #2e124a;
color: #ffffff;
}
.border-2e124a {
border: 2px solid #2e124a;
}
:root {
--color-primary: #2e124a;
--color-primary-rgb: 46 18 74;
--color-primary-hsl: 270 61% 18%;
}
.gradient-2e124a {
background: linear-gradient(135deg, #2e124a, #4a124a);
}
.shadow-2e124a {
box-shadow: 0 8px 24px rgb(46 18 74 / 0.35);
}
Midnight Blue
#2e124a rgb(46, 18, 74) hsl(270, 61%, 18%) Midnight Blue
#2e4a12 rgb(46, 74, 18) hsl(90, 61%, 18%) Lincoln Green
#4a2e12 rgb(74, 46, 18) hsl(30, 61%, 18%) Bistre
#124a2e rgb(18, 74, 46) hsl(150, 61%, 18%) British Racing Green