#02121A#02121A

#02121A is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.2% C 0.029 H 229.5°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#02121A
RGBrgb(2, 18, 26)
HSLhsl(200, 86%, 5%)
HSVhsv(200, 92%, 10%)
CMYKcmyk(92.3%, 30.8%, 0%, 89.8%)
CIE-LABlab(4.70, -2.73, -6.95)
CIE-LCHlch(4.70, 7.47, 248.59°)
OKLaboklab(17.15% -0.0191 -0.0224)
OKLCHoklch(17.15% 0.029 229.5)
XYZxyz(0.4277, 0.5200, 1.0549)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02121A #1A0A02
analogous
#021A16 #02121A #02061A
triadic
#02121A #1A0212 #121A02
tetradic
#02121A #16021A #1A0A02 #061A02
square
#02121A #16021A #1A0A02 #061A02
split-complementary
#02121A #1A0206 #1A1602
monochromatic
#02141C #02141C #02141C #063953 #0B618C

Accessibility & contrast

On white

19.02
#02121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#02121A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02121A
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02121A#FFFFFF#000000##FFFFFF
##02121A1.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E121A
Deuteranopia (green-blind)
#0A0F1A
Tritanopia (blue-blind)
#001415
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #02121a;
/* rgb */ color: rgb(2, 18, 26);
/* oklch */ color: oklch(17.2% 0.029 229.5);
Tailwind
colors: {
  custom: {
    50: '#475056',
    500: '#02121a',
    950: '#000000',
  },
}
SCSS
$custom: #02121a;
$custom-light: #475056;
$custom-dark: #000000;
JSON
{
  "hex": "#02121a",
  "rgb": {
    "r": 2,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 200,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.17151,
    "c": 0.02948,
    "h": 229.5
  },
  "luminance": 0.0052
}

Semantic roles & 50–950 ramp

primary
#02121A
secondary
#603018
accent
#712CFC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02121A

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

Preview Lab → · Contrast checker → · Palette generator →

#02121A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva