#2e237f ≈ Midnight Blue
#2e237f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 13.73% green and 49.8% blue; printed in CMYK it uses 63.78% cyan, 72.44% magenta, 0% yellow and 50.2% black. Its hue angle is 247.17°, with 56.79% saturation and 31.76% 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 corporate identities. White text on this color reaches a contrast ratio of 12.63:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.76.
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.0332 |
Shades
#2e237f mixed progressively with black.
Tints
#2e237f mixed progressively with white.
Tones
#2e237f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2e237f {
color: #2e237f;
}
.bg-2e237f {
background-color: #2e237f;
color: #ffffff;
}
.border-2e237f {
border: 2px solid #2e237f;
}
:root {
--color-primary: #2e237f;
--color-primary-rgb: 46 35 127;
--color-primary-hsl: 247 57% 32%;
}
.gradient-2e237f {
background: linear-gradient(135deg, #2e237f, #5c237f);
}
.shadow-2e237f {
box-shadow: 0 8px 24px rgb(46 35 127 / 0.35);
}
Midnight Blue
#2e237f rgb(46, 35, 127) hsl(247, 57%, 32%) Midnight Blue
#747f23 rgb(116, 127, 35) hsl(67, 57%, 32%) Olive
#7f2e23 rgb(127, 46, 35) hsl(7, 57%, 32%) Burnt Umber
#237f2e rgb(35, 127, 46) hsl(127, 57%, 32%) Green