#020C16#020C16

#020C16 is a very dark, muted cyan. Relative luminance 0.003; OKLCH L 14.9% C 0.029 H 243.7°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#020C16
RGBrgb(2, 12, 22)
HSLhsl(210, 83%, 5%)
HSVhsv(210, 91%, 9%)
CMYKcmyk(90.9%, 45.5%, 0%, 91.4%)
CIE-LABlab(3.01, -0.65, -6.35)
CIE-LCHlch(3.01, 6.38, 264.15°)
OKLaboklab(14.87% -0.0128 -0.0258)
OKLCHoklch(14.87% 0.029 243.7)
XYZxyz(0.3013, 0.3337, 0.8074)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020C16 #160C02
analogous
#021616 #020C16 #020216
triadic
#020C16 #16020C #0C1602
tetradic
#020C16 #160216 #160C02 #021602
square
#020C16 #160216 #160C02 #021602
split-complementary
#020C16 #160202 #161602
monochromatic
#030F1C #030F1C #030F1C #072B4E #0C4986

Accessibility & contrast

On white

19.69
#020C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#020C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020C16
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020C16#FFFFFF#000000##FFFFFF
##020C161.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080C16
Deuteranopia (green-blind)
#050A16
Tritanopia (blue-blind)
#000E10
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #020c16;
/* rgb */ color: rgb(2, 12, 22);
/* oklch */ color: oklch(14.9% 0.029 243.7);
Tailwind
colors: {
  custom: {
    50: '#474c52',
    500: '#020c16',
    950: '#000000',
  },
}
SCSS
$custom: #020c16;
$custom-light: #474c52;
$custom-dark: #000000;
JSON
{
  "hex": "#020c16",
  "rgb": {
    "r": 2,
    "g": 12,
    "b": 22
  },
  "hsl": {
    "h": 210,
    "s": 83.333,
    "l": 4.706
  },
  "oklch": {
    "l": 0.14873,
    "c": 0.02876,
    "h": 243.7
  },
  "luminance": 0.00334
}

Semantic roles & 50–950 ramp

primary
#020C16
secondary
#5C3A18
accent
#942EFA
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #020C16

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

Preview Lab → · Contrast checker → · Palette generator →

#020C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva