#2e2175 ≈ Midnight Blue
#2e2175 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 12.94% green and 45.88% blue; printed in CMYK it uses 60.68% cyan, 71.79% magenta, 0% yellow and 54.12% black. Its hue angle is 249.29°, with 56% saturation and 29.41% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 13.2:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.11.
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.0295 |
Shades
#2e2175 mixed progressively with black.
Tints
#2e2175 mixed progressively with white.
Tones
#2e2175 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e2175 {
color: #2e2175;
}
.bg-2e2175 {
background-color: #2e2175;
color: #ffffff;
}
.border-2e2175 {
border: 2px solid #2e2175;
}
:root {
--color-primary: #2e2175;
--color-primary-rgb: 46 33 117;
--color-primary-hsl: 249 56% 29%;
}
.gradient-2e2175 {
background: linear-gradient(135deg, #2e2175, #582175);
}
.shadow-2e2175 {
box-shadow: 0 8px 24px rgb(46 33 117 / 0.35);
}
Midnight Blue
#2e2175 rgb(46, 33, 117) hsl(249, 56%, 29%) Midnight Blue
#687521 rgb(104, 117, 33) hsl(69, 56%, 29%) Dark Olive Green
#752e21 rgb(117, 46, 33) hsl(9, 56%, 29%) Burnt Umber
#21752e rgb(33, 117, 46) hsl(129, 56%, 29%) Cadmium Green