#021c67 ≈ Midnight Blue
#021c67 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.98% green and 40.39% blue; printed in CMYK it uses 98.06% cyan, 72.82% magenta, 0% yellow and 59.61% black. Its hue angle is 224.55°, 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.39:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.21.
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.0182 |
Shades
#021c67 mixed progressively with black.
Tints
#021c67 mixed progressively with white.
Tones
#021c67 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021c67 {
color: #021c67;
}
.bg-021c67 {
background-color: #021c67;
color: #ffffff;
}
.border-021c67 {
border: 2px solid #021c67;
}
:root {
--color-primary: #021c67;
--color-primary-rgb: 2 28 103;
--color-primary-hsl: 225 96% 21%;
}
.gradient-021c67 {
background: linear-gradient(135deg, #021c67, #1a0267);
}
.shadow-021c67 {
box-shadow: 0 8px 24px rgb(2 28 103 / 0.35);
}
Midnight Blue
#021c67 rgb(2, 28, 103) hsl(225, 96%, 21%) Midnight Blue
#674d02 rgb(103, 77, 2) hsl(45, 96%, 21%) Field Drab
#67021c rgb(103, 2, 28) hsl(345, 96%, 21%) Burgundy
#1c6702 rgb(28, 103, 2) hsl(105, 96%, 21%) Pakistan Green