#021e76 ≈ Midnight Blue
#021e76 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 11.76% green and 46.27% blue; printed in CMYK it uses 98.31% cyan, 74.58% magenta, 0% yellow and 53.73% black. Its hue angle is 225.52°, with 96.67% saturation and 23.53% 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 14.48:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.56.
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.0225 |
Shades
#021e76 mixed progressively with black.
Tints
#021e76 mixed progressively with white.
Tones
#021e76 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021e76 {
color: #021e76;
}
.bg-021e76 {
background-color: #021e76;
color: #ffffff;
}
.border-021e76 {
border: 2px solid #021e76;
}
:root {
--color-primary: #021e76;
--color-primary-rgb: 2 30 118;
--color-primary-hsl: 226 97% 24%;
}
.gradient-021e76 {
background: linear-gradient(135deg, #021e76, #200276);
}
.shadow-021e76 {
box-shadow: 0 8px 24px rgb(2 30 118 / 0.35);
}
Midnight Blue
#021e76 rgb(2, 30, 118) hsl(226, 97%, 24%) Midnight Blue
#765a02 rgb(118, 90, 2) hsl(46, 97%, 24%) Field Drab
#76021e rgb(118, 2, 30) hsl(346, 97%, 24%) Burgundy
#1e7602 rgb(30, 118, 2) hsl(106, 97%, 24%) Green