#0C021A

#0c021a ≈ Licorice

  • black
  • Lightness: very low
  • Saturation: muted
  • Neutral

#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.

Conversions of #0c021a into other color spaces
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 luminance0.002

Readable text 20.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.04:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #060606 ≈ 0.003% of males
Achromatomaly #090510 ≈ 0.001% of males
Protanopia #00061b ≈ 1.01% of males
Deuteranopia #000619 ≈ 1.27% of males
Tritanopia #09060c ≈ 0.0001% of males
Protanomaly #03051a ≈ 1.08% of males
Deuteranomaly #04051a ≈ 4.63% of males
Tritanomaly #0a0412 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c021a {
  color: #0c021a;
}
Background
.bg-0c021a {
  background-color: #0c021a;
  color: #ffffff;
}
Border
.border-0c021a {
  border: 2px solid #0c021a;
}
CSS variables
:root {
  --color-primary: #0c021a;
  --color-primary-rgb: 12 2 26;
  --color-primary-hsl: 265 86% 5%;
}
Gradient
.gradient-0c021a {
  background: linear-gradient(135deg, #0c021a, #18021a);
}
Colored shadow
.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