#2a4e5b ≈ Midnight Green
#2a4e5b is a color from the azure family, with low lightness and muted saturation. In the RGB model it is made of 16.47% red, 30.59% green and 35.69% blue; printed in CMYK it uses 53.85% cyan, 14.29% magenta, 0% yellow and 64.31% black. Its hue angle is 195.92°, with 36.84% saturation and 26.08% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 8.98:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 6.12.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #336666 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.067 |
Shades
#2a4e5b mixed progressively with black.
Tints
#2a4e5b mixed progressively with white.
Tones
#2a4e5b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a4e5b {
color: #2a4e5b;
}
.bg-2a4e5b {
background-color: #2a4e5b;
color: #ffffff;
}
.border-2a4e5b {
border: 2px solid #2a4e5b;
}
:root {
--color-primary: #2a4e5b;
--color-primary-rgb: 42 78 91;
--color-primary-hsl: 196 37% 26%;
}
.gradient-2a4e5b {
background: linear-gradient(135deg, #2a4e5b, #2a365b);
}
.shadow-2a4e5b {
box-shadow: 0 8px 24px rgb(42 78 91 / 0.35);
}
Midnight Green
#2a4e5b rgb(42, 78, 91) hsl(196, 37%, 26%) Midnight Green
#5b372a rgb(91, 55, 42) hsl(16, 37%, 26%) Caput Mortuum
#5b2a4e rgb(91, 42, 78) hsl(316, 37%, 26%) Byzantium
#4e5b2a rgb(78, 91, 42) hsl(76, 37%, 26%) Army Green