#004158 ≈ Midnight Green
#004158 is a color from the azure family, with very low lightness and moderate saturation. In the RGB model it is made of 0% red, 25.49% green and 34.51% blue; printed in CMYK it uses 100% cyan, 26.14% magenta, 0% yellow and 65.49% black. Its hue angle is 195.68°, with 100% saturation and 17.25% 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 11.07:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 7.78.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0449 |
Shades
#004158 mixed progressively with black.
Tints
#004158 mixed progressively with white.
Tones
#004158 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-004158 {
color: #004158;
}
.bg-004158 {
background-color: #004158;
color: #ffffff;
}
.border-004158 {
border: 2px solid #004158;
}
:root {
--color-primary: #004158;
--color-primary-rgb: 0 65 88;
--color-primary-hsl: 196 100% 17%;
}
.gradient-004158 {
background: linear-gradient(135deg, #004158, #001558);
}
.shadow-004158 {
box-shadow: 0 8px 24px rgb(0 65 88 / 0.35);
}
Midnight Green
#004158 rgb(0, 65, 88) hsl(196, 100%, 17%) Midnight Green
#581700 rgb(88, 23, 0) hsl(16, 100%, 17%) Caput Mortuum
#580041 rgb(88, 0, 65) hsl(316, 100%, 17%) Tyrian Purple
#415800 rgb(65, 88, 0) hsl(76, 100%, 17%) Army Green