#020049 ≈ Midnight Blue
#020049 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 28.63% blue; printed in CMYK it uses 97.26% cyan, 100% magenta, 0% yellow and 71.37% black. Its hue angle is 241.64°, with 100% saturation and 14.31% 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.11:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.7.
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.0049 |
Shades
#020049 mixed progressively with black.
Tints
#020049 mixed progressively with white.
Tones
#020049 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-020049 {
color: #020049;
}
.bg-020049 {
background-color: #020049;
color: #ffffff;
}
.border-020049 {
border: 2px solid #020049;
}
:root {
--color-primary: #020049;
--color-primary-rgb: 2 0 73;
--color-primary-hsl: 242 100% 14%;
}
.gradient-020049 {
background: linear-gradient(135deg, #020049, #260049);
}
.shadow-020049 {
box-shadow: 0 8px 24px rgb(2 0 73 / 0.35);
}
Midnight Blue
#020049 rgb(2, 0, 73) hsl(242, 100%, 14%) Midnight Blue
#474900 rgb(71, 73, 0) hsl(62, 100%, 14%) Army Green
#490200 rgb(73, 2, 0) hsl(2, 100%, 14%) Rosewood
#004902 rgb(0, 73, 2) hsl(122, 100%, 14%) Lincoln Green