#2e1751 ≈ Midnight Blue
#2e1751 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 18.04% red, 9.02% green and 31.76% blue; printed in CMYK it uses 43.21% cyan, 71.6% magenta, 0% yellow and 68.24% black. Its hue angle is 263.79°, with 55.77% saturation and 20.39% 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.47:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0179 |
Shades
#2e1751 mixed progressively with black.
Tints
#2e1751 mixed progressively with white.
Tones
#2e1751 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e1751 {
color: #2e1751;
}
.bg-2e1751 {
background-color: #2e1751;
color: #ffffff;
}
.border-2e1751 {
border: 2px solid #2e1751;
}
:root {
--color-primary: #2e1751;
--color-primary-rgb: 46 23 81;
--color-primary-hsl: 264 56% 20%;
}
.gradient-2e1751 {
background: linear-gradient(135deg, #2e1751, #4b1751);
}
.shadow-2e1751 {
box-shadow: 0 8px 24px rgb(46 23 81 / 0.35);
}
Midnight Blue
#2e1751 rgb(46, 23, 81) hsl(264, 56%, 20%) Midnight Blue
#3a5117 rgb(58, 81, 23) hsl(84, 56%, 20%) Army Green
#512e17 rgb(81, 46, 23) hsl(24, 56%, 20%) Bistre
#17512e rgb(23, 81, 46) hsl(144, 56%, 20%) British Racing Green