#02003f ≈ Midnight Blue
#02003f is a color from the blue family, with very low lightness and muted saturation. In the RGB model it is made of 0.78% red, 0% green and 24.71% blue; printed in CMYK it uses 96.83% cyan, 100% magenta, 0% yellow and 75.29% black. Its hue angle is 241.9°, with 100% saturation and 12.35% 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.55:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.02.
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.0037 |
Shades
#02003f mixed progressively with black.
Tints
#02003f mixed progressively with white.
Tones
#02003f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-02003f {
color: #02003f;
}
.bg-02003f {
background-color: #02003f;
color: #ffffff;
}
.border-02003f {
border: 2px solid #02003f;
}
:root {
--color-primary: #02003f;
--color-primary-rgb: 2 0 63;
--color-primary-hsl: 242 100% 12%;
}
.gradient-02003f {
background: linear-gradient(135deg, #02003f, #21003f);
}
.shadow-02003f {
box-shadow: 0 8px 24px rgb(2 0 63 / 0.35);
}
Midnight Blue
#02003f rgb(2, 0, 63) hsl(242, 100%, 12%) Midnight Blue
#3d3f00 rgb(61, 63, 0) hsl(62, 100%, 12%) Army Green
#3f0200 rgb(63, 2, 0) hsl(2, 100%, 12%) Rosewood
#003f02 rgb(0, 63, 2) hsl(122, 100%, 12%) British Racing Green