#02121C#02121C

#02121C is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.3% C 0.032 H 235.5°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#02121C
RGBrgb(2, 18, 28)
HSLhsl(203, 87%, 6%)
HSVhsv(203, 93%, 11%)
CMYKcmyk(92.9%, 35.7%, 0%, 89%)
CIE-LABlab(4.78, -2.14, -8.39)
CIE-LCHlch(4.78, 8.66, 255.71°)
OKLaboklab(17.28% -0.0182 -0.0264)
OKLCHoklch(17.28% 0.032 235.5)
XYZxyz(0.4509, 0.5293, 1.1768)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02121C #1C0C02
analogous
#021C19 #02121C #02051C
triadic
#02121C #1C0212 #121C02
tetradic
#02121C #19021C #1C0C02 #051C02
square
#02121C #19021C #1C0C02 #051C02
split-complementary
#02121C #1C0205 #1C1902
monochromatic
#02121D #02121D #02121D #063755 #0A5B8E

Accessibility & contrast

On white

18.99
#02121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#02121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02121C
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02121C#FFFFFF#000000##FFFFFF
##02121C1.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121C
Deuteranopia (green-blind)
#090F1C
Tritanopia (blue-blind)
#001515
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #02121c;
/* rgb */ color: rgb(2, 18, 28);
/* oklch */ color: oklch(17.3% 0.032 235.5);
Tailwind
colors: {
  custom: {
    50: '#475058',
    500: '#02121c',
    950: '#000000',
  },
}
SCSS
$custom: #02121c;
$custom-light: #475058;
$custom-dark: #000000;
JSON
{
  "hex": "#02121c",
  "rgb": {
    "r": 2,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 203.077,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.17284,
    "c": 0.03205,
    "h": 235.5
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#02121C
secondary
#623418
accent
#7C2BFD
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02121C

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

Preview Lab → · Contrast checker → · Palette generator →

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