#02181F#02181F

#02181F is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.5% C 0.032 H 220.9°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#02181F
RGBrgb(2, 24, 31)
HSLhsl(194, 88%, 6%)
HSVhsv(194, 94%, 12%)
CMYKcmyk(93.5%, 22.6%, 0%, 87.8%)
CIE-LABlab(6.91, -5.25, -7.49)
CIE-LCHlch(6.91, 9.15, 234.96°)
OKLaboklab(19.45% -0.0245 -0.0212)
OKLCHoklch(19.45% 0.032 220.9)
XYZxyz(0.5989, 0.7650, 1.4122)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02181F #1F0902
analogous
#021F18 #02181F #020A1F
triadic
#02181F #1F0218 #181F02
tetradic
#02181F #18021F #1F0902 #0A1F02
square
#02181F #18021F #1F0902 #0A1F02
split-complementary
#02181F #1F020A #1F1802
monochromatic
#02161D #02161D #02181F #064558 #097192

Accessibility & contrast

On white

18.21
#02181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#02181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02181F
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02181F#FFFFFF#000000##FFFFFF
##02181F1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171F
Deuteranopia (green-blind)
#0F141F
Tritanopia (blue-blind)
#001A1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #02181f;
/* rgb */ color: rgb(2, 24, 31);
/* oklch */ color: oklch(19.5% 0.032 220.9);
Tailwind
colors: {
  custom: {
    50: '#47545a',
    500: '#02181f',
    950: '#000000',
  },
}
SCSS
$custom: #02181f;
$custom-light: #47545a;
$custom-dark: #000000;
JSON
{
  "hex": "#02181f",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 194.483,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.19453,
    "c": 0.03243,
    "h": 220.9
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#02181F
secondary
#652B18
accent
#5D2AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02181F

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

Preview Lab → · Contrast checker → · Palette generator →

#02181F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva