#2b2e77 ≈ Midnight Blue
#2b2e77 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.86% red, 18.04% green and 46.67% blue; printed in CMYK it uses 63.87% cyan, 61.34% magenta, 0% yellow and 53.33% black. Its hue angle is 237.63°, with 46.91% 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 11.93:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.96.
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.038 |
Shades
#2b2e77 mixed progressively with black.
Tints
#2b2e77 mixed progressively with white.
Tones
#2b2e77 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2b2e77 {
color: #2b2e77;
}
.bg-2b2e77 {
background-color: #2b2e77;
color: #ffffff;
}
.border-2b2e77 {
border: 2px solid #2b2e77;
}
:root {
--color-primary: #2b2e77;
--color-primary-rgb: 43 46 119;
--color-primary-hsl: 238 47% 32%;
}
.gradient-2b2e77 {
background: linear-gradient(135deg, #2b2e77, #4e2b77);
}
.shadow-2b2e77 {
box-shadow: 0 8px 24px rgb(43 46 119 / 0.35);
}
Midnight Blue
#2b2e77 rgb(43, 46, 119) hsl(238, 47%, 32%) Midnight Blue
#77742b rgb(119, 116, 43) hsl(58, 47%, 32%) Olive
#772b2e rgb(119, 43, 46) hsl(358, 47%, 32%) Wine
#2e772b rgb(46, 119, 43) hsl(118, 47%, 32%) Green