#020A12#020A12

#020A12 is a very dark, muted cyan. Relative luminance 0.003; OKLCH L 13.9% C 0.024 H 241.3°. Best body text is #FFFFFF at 19.91:1 contrast (WCAG AA passes).

Color values

HEX#020A12
RGBrgb(2, 10, 18)
HSLhsl(210, 80%, 4%)
HSVhsv(210, 89%, 7%)
CMYKcmyk(88.9%, 44.4%, 0%, 92.9%)
CIE-LABlab(2.47, -0.71, -4.50)
CIE-LCHlch(2.47, 4.55, 261.02°)
OKLaboklab(13.91% -0.0117 -0.0214)
OKLCHoklch(13.91% 0.024 241.3)
XYZxyz(0.2427, 0.2736, 0.6122)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A12 #120A02
analogous
#021212 #020A12 #020212
triadic
#020A12 #12020A #0A1202
tetradic
#020A12 #120212 #120A02 #021202
square
#020A12 #120212 #120A02 #021202
split-complementary
#020A12 #120202 #121202
monochromatic
#030F1C #030F1C #030F1C #082949 #0E4780

Accessibility & contrast

On white

19.91
#020A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#020A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020A12
19.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A12#FFFFFF#000000##FFFFFF
##020A121.0019.911.0519.91
#FFFFFF19.911.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070A12
Deuteranopia (green-blind)
#050812
Tritanopia (blue-blind)
#000C0D
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #020a12;
/* rgb */ color: rgb(2, 10, 18);
/* oklch */ color: oklch(13.9% 0.024 241.3);
Tailwind
colors: {
  custom: {
    50: '#474b4f',
    500: '#020a12',
    950: '#000000',
  },
}
SCSS
$custom: #020a12;
$custom-light: #474b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#020a12",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 18
  },
  "hsl": {
    "h": 210,
    "s": 80,
    "l": 3.922
  },
  "oklch": {
    "l": 0.13909,
    "c": 0.02435,
    "h": 241.3
  },
  "luminance": 0.00274
}

Semantic roles & 50–950 ramp

primary
#020A12
secondary
#573819
accent
#9431F6
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #020A12

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

Preview Lab → · Contrast checker → · Palette generator →

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