#0c021a ≈ Licorice
#0c021a is a color from the black family, with very low lightness and muted saturation. In the RGB model it is made of 4.71% red, 0.78% green and 10.2% blue; printed in CMYK it uses 53.85% cyan, 92.31% magenta, 0% yellow and 89.8% black. Its hue angle is 265°, with 85.71% saturation and 5.49% 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 20.21:1 (WCAG AAA). The closest named color is Licorice (#1a1110), ΔE 10.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.002 |
Shades
#0c021a mixed progressively with black.
Tints
#0c021a mixed progressively with white.
Tones
#0c021a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c021a {
color: #0c021a;
}
.bg-0c021a {
background-color: #0c021a;
color: #ffffff;
}
.border-0c021a {
border: 2px solid #0c021a;
}
:root {
--color-primary: #0c021a;
--color-primary-rgb: 12 2 26;
--color-primary-hsl: 265 86% 5%;
}
.gradient-0c021a {
background: linear-gradient(135deg, #0c021a, #18021a);
}
.shadow-0c021a {
box-shadow: 0 8px 24px rgb(12 2 26 / 0.35);
}
Licorice
#0c021a rgb(12, 2, 26) hsl(265, 86%, 5%) Licorice
#101a02 rgb(16, 26, 2) hsl(85, 86%, 5%) Phthalo Green
#1a0c02 rgb(26, 12, 2) hsl(25, 86%, 5%) Licorice
#021a0c rgb(2, 26, 12) hsl(145, 86%, 5%) Phthalo Green