#021fab ≈ Zaffre
#021fab 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 67.06% blue; printed in CMYK it uses 98.83% cyan, 81.87% magenta, 0% yellow and 32.94% black. Its hue angle is 229.7°, with 97.69% saturation and 33.92% 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 corporate identities. White text on this color reaches a contrast ratio of 11.75:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.06.
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.0393 |
Shades
#021fab mixed progressively with black.
Tints
#021fab mixed progressively with white.
Tones
#021fab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021fab {
color: #021fab;
}
.bg-021fab {
background-color: #021fab;
color: #ffffff;
}
.border-021fab {
border: 2px solid #021fab;
}
:root {
--color-primary: #021fab;
--color-primary-rgb: 2 31 171;
--color-primary-hsl: 230 98% 34%;
}
.gradient-021fab {
background: linear-gradient(135deg, #021fab, #3902ab);
}
.shadow-021fab {
box-shadow: 0 8px 24px rgb(2 31 171 / 0.35);
}
Zaffre
#021fab rgb(2, 31, 171) hsl(230, 98%, 34%) Zaffre
#ab8e02 rgb(171, 142, 2) hsl(50, 98%, 34%) Dark Goldenrod
#ab021f rgb(171, 2, 31) hsl(350, 98%, 34%) Brown
#1fab02 rgb(31, 171, 2) hsl(110, 98%, 34%) Kelly Green