#021216#021216

#021216 is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 16.9% C 0.026 H 214.1°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#021216
RGBrgb(2, 18, 22)
HSLhsl(192, 83%, 5%)
HSVhsv(192, 91%, 9%)
CMYKcmyk(90.9%, 18.2%, 0%, 91.4%)
CIE-LABlab(4.55, -3.78, -4.11)
CIE-LCHlch(4.55, 5.59, 227.39°)
OKLaboklab(16.91% -0.0213 -0.0144)
OKLCHoklch(16.91% 0.026 214.1)
XYZxyz(0.3861, 0.5034, 0.8357)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021216 #160602
analogous
#021610 #021216 #020816
triadic
#021216 #160212 #121602
tetradic
#021216 #100216 #160602 #081602
square
#021216 #100216 #160602 #081602
split-complementary
#021216 #160208 #161002
monochromatic
#03171C #03171C #03171C #07404E #0C6E86

Accessibility & contrast

On white

19.08
#021216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#021216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021216
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021216#FFFFFF#000000##FFFFFF
##0212161.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1116
Deuteranopia (green-blind)
#0C0F16
Tritanopia (blue-blind)
#001413
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #021216;
/* rgb */ color: rgb(2, 18, 22);
/* oklch */ color: oklch(16.9% 0.026 214.1);
Tailwind
colors: {
  custom: {
    50: '#474f52',
    500: '#021216',
    950: '#000000',
  },
}
SCSS
$custom: #021216;
$custom-light: #474f52;
$custom-dark: #000000;
JSON
{
  "hex": "#021216",
  "rgb": {
    "r": 2,
    "g": 18,
    "b": 22
  },
  "hsl": {
    "h": 192,
    "s": 83.333,
    "l": 4.706
  },
  "oklch": {
    "l": 0.16905,
    "c": 0.02571,
    "h": 214.1
  },
  "luminance": 0.00503
}

Semantic roles & 50–950 ramp

primary
#021216
secondary
#5C2618
accent
#572EFA
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000202
muted
#777878

Preview Lab

Preview with #021216

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#021216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva