#021204 ≈ Black
#021204 is a color from the black family, with very low lightness and muted saturation. In the RGB model it is made of 0.78% red, 7.06% green and 1.57% blue; printed in CMYK it uses 88.89% cyan, 0% magenta, 77.78% yellow and 92.94% black. Its hue angle is 127.5°, with 80% saturation and 3.92% lightness in HSL. It is a neutral color, often associated with sophistication, power and elegance. Designers typically use it for body text and typography and luxury branding. White text on this color reaches a contrast ratio of 19.25:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 9.28.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000000 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0045 |
Shades
#021204 mixed progressively with black.
Tints
#021204 mixed progressively with white.
Tones
#021204 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021204 {
color: #021204;
}
.bg-021204 {
background-color: #021204;
color: #ffffff;
}
.border-021204 {
border: 2px solid #021204;
}
:root {
--color-primary: #021204;
--color-primary-rgb: 2 18 4;
--color-primary-hsl: 128 80% 4%;
}
.gradient-021204 {
background: linear-gradient(135deg, #021204, #02120c);
}
.shadow-021204 {
box-shadow: 0 8px 24px rgb(2 18 4 / 0.35);
}
Black
#021204 rgb(2, 18, 4) hsl(128, 80%, 4%) Black
#120210 rgb(18, 2, 16) hsl(308, 80%, 4%) Licorice
#040212 rgb(4, 2, 18) hsl(248, 80%, 4%) Rich Black
#120402 rgb(18, 4, 2) hsl(8, 80%, 4%) Licorice