#021c8a ≈ Imperial Blue
#021c8a is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 0.78% red, 10.98% green and 54.12% blue; printed in CMYK it uses 98.55% cyan, 79.71% magenta, 0% yellow and 45.88% black. Its hue angle is 228.53°, with 97.14% saturation and 27.45% 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.67:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 2.22.
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.0268 |
Shades
#021c8a mixed progressively with black.
Tints
#021c8a mixed progressively with white.
Tones
#021c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021c8a {
color: #021c8a;
}
.bg-021c8a {
background-color: #021c8a;
color: #ffffff;
}
.border-021c8a {
border: 2px solid #021c8a;
}
:root {
--color-primary: #021c8a;
--color-primary-rgb: 2 28 138;
--color-primary-hsl: 229 97% 27%;
}
.gradient-021c8a {
background: linear-gradient(135deg, #021c8a, #2c028a);
}
.shadow-021c8a {
box-shadow: 0 8px 24px rgb(2 28 138 / 0.35);
}
Imperial Blue
#021c8a rgb(2, 28, 138) hsl(229, 97%, 27%) Imperial Blue
#8a7002 rgb(138, 112, 2) hsl(49, 97%, 27%) Olive
#8a021c rgb(138, 2, 28) hsl(349, 97%, 27%) Carmine
#1c8a02 rgb(28, 138, 2) hsl(109, 97%, 27%) India Green