#021f8d ≈ Imperial Blue
#021f8d is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 0.78% red, 12.16% green and 55.29% blue; printed in CMYK it uses 98.58% cyan, 78.01% magenta, 0% yellow and 44.71% black. Its hue angle is 227.48°, with 97.2% saturation and 28.04% 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 13.26:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 1.44.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0292 |
Shades
#021f8d mixed progressively with black.
Tints
#021f8d mixed progressively with white.
Tones
#021f8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021f8d {
color: #021f8d;
}
.bg-021f8d {
background-color: #021f8d;
color: #ffffff;
}
.border-021f8d {
border: 2px solid #021f8d;
}
:root {
--color-primary: #021f8d;
--color-primary-rgb: 2 31 141;
--color-primary-hsl: 227 97% 28%;
}
.gradient-021f8d {
background: linear-gradient(135deg, #021f8d, #2a028d);
}
.shadow-021f8d {
box-shadow: 0 8px 24px rgb(2 31 141 / 0.35);
}
Imperial Blue
#021f8d rgb(2, 31, 141) hsl(227, 97%, 28%) Imperial Blue
#8d7002 rgb(141, 112, 2) hsl(47, 97%, 28%) Golden Brown
#8d021f rgb(141, 2, 31) hsl(347, 97%, 28%) Burgundy
#1f8d02 rgb(31, 141, 2) hsl(107, 97%, 28%) Islamic Green