#021a67 ≈ Midnight Blue
#021a67 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 10.2% green and 40.39% blue; printed in CMYK it uses 98.06% cyan, 74.76% magenta, 0% yellow and 59.61% black. Its hue angle is 225.74°, with 96.19% saturation and 20.59% 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 15.6:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.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.0173 |
Shades
#021a67 mixed progressively with black.
Tints
#021a67 mixed progressively with white.
Tones
#021a67 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021a67 {
color: #021a67;
}
.bg-021a67 {
background-color: #021a67;
color: #ffffff;
}
.border-021a67 {
border: 2px solid #021a67;
}
:root {
--color-primary: #021a67;
--color-primary-rgb: 2 26 103;
--color-primary-hsl: 226 96% 21%;
}
.gradient-021a67 {
background: linear-gradient(135deg, #021a67, #1c0267);
}
.shadow-021a67 {
box-shadow: 0 8px 24px rgb(2 26 103 / 0.35);
}
Midnight Blue
#021a67 rgb(2, 26, 103) hsl(226, 96%, 21%) Midnight Blue
#674f02 rgb(103, 79, 2) hsl(46, 96%, 21%) Field Drab
#67021a rgb(103, 2, 26) hsl(346, 96%, 21%) Rosewood
#1a6702 rgb(26, 103, 2) hsl(106, 96%, 21%) Pakistan Green