#021f31 ≈ Prussian Blue
#021f31 is a color from the azure family, with very low lightness and muted saturation. In the RGB model it is made of 0.78% red, 12.16% green and 19.22% blue; printed in CMYK it uses 95.92% cyan, 36.73% magenta, 0% yellow and 80.78% black. Its hue angle is 202.98°, with 92.16% saturation and 10% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 16.9:1 (WCAG AAA). The closest named color is Prussian Blue (#003153), ΔE 7.61.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0121 |
Shades
#021f31 mixed progressively with black.
Tints
#021f31 mixed progressively with white.
Tones
#021f31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021f31 {
color: #021f31;
}
.bg-021f31 {
background-color: #021f31;
color: #ffffff;
}
.border-021f31 {
border: 2px solid #021f31;
}
:root {
--color-primary: #021f31;
--color-primary-rgb: 2 31 49;
--color-primary-hsl: 203 92% 10%;
}
.gradient-021f31 {
background: linear-gradient(135deg, #021f31, #020731);
}
.shadow-021f31 {
box-shadow: 0 8px 24px rgb(2 31 49 / 0.35);
}
Prussian Blue
#021f31 rgb(2, 31, 49) hsl(203, 92%, 10%) Prussian Blue
#311402 rgb(49, 20, 2) hsl(23, 92%, 10%) Bistre
#31021f rgb(49, 2, 31) hsl(323, 92%, 10%) Tyrian Purple
#1f3102 rgb(31, 49, 2) hsl(83, 92%, 10%) Phthalo Green