#02004a ≈ Midnight Blue
#02004a is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 0% green and 29.02% blue; printed in CMYK it uses 97.3% cyan, 100% magenta, 0% yellow and 70.98% black. Its hue angle is 241.62°, with 100% saturation and 14.51% 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 19.07:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.59.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0051 |
Shades
#02004a mixed progressively with black.
Tints
#02004a mixed progressively with white.
Tones
#02004a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-02004a {
color: #02004a;
}
.bg-02004a {
background-color: #02004a;
color: #ffffff;
}
.border-02004a {
border: 2px solid #02004a;
}
:root {
--color-primary: #02004a;
--color-primary-rgb: 2 0 74;
--color-primary-hsl: 242 100% 15%;
}
.gradient-02004a {
background: linear-gradient(135deg, #02004a, #27004a);
}
.shadow-02004a {
box-shadow: 0 8px 24px rgb(2 0 74 / 0.35);
}
Midnight Blue
#02004a rgb(2, 0, 74) hsl(242, 100%, 15%) Midnight Blue
#484a00 rgb(72, 74, 0) hsl(62, 100%, 15%) Army Green
#4a0200 rgb(74, 2, 0) hsl(2, 100%, 15%) Rosewood
#004a02 rgb(0, 74, 2) hsl(122, 100%, 15%) Lincoln Green