#02171E#02171E

#02171E is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.1% C 0.032 H 221.6°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#02171E
RGBrgb(2, 23, 30)
HSLhsl(195, 88%, 6%)
HSVhsv(195, 93%, 12%)
CMYKcmyk(93.3%, 23.3%, 0%, 88.2%)
CIE-LABlab(6.50, -4.84, -7.35)
CIE-LCHlch(6.50, 8.80, 236.66°)
OKLaboklab(19.06% -0.0237 -0.0211)
OKLCHoklch(19.06% 0.032 221.6)
XYZxyz(0.5657, 0.7194, 1.3371)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02171E #1E0902
analogous
#021E17 #02171E #02091E
triadic
#02171E #1E0217 #171E02
tetradic
#02171E #17021E #1E0902 #091E02
square
#02171E #17021E #1E0902 #091E02
split-complementary
#02171E #1E0209 #1E1702
monochromatic
#02161D #02161D #02171E #064357 #0A6F91

Accessibility & contrast

On white

18.36
#02171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#02171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02171E
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02171E#FFFFFF#000000##FFFFFF
##02171E1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13161E
Deuteranopia (green-blind)
#0F131E
Tritanopia (blue-blind)
#001919
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #02171e;
/* rgb */ color: rgb(2, 23, 30);
/* oklch */ color: oklch(19.1% 0.032 221.6);
Tailwind
colors: {
  custom: {
    50: '#475359',
    500: '#02171e',
    950: '#000000',
  },
}
SCSS
$custom: #02171e;
$custom-light: #475359;
$custom-dark: #000000;
JSON
{
  "hex": "#02171e",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 195,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.19062,
    "c": 0.03175,
    "h": 221.6
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#02171E
secondary
#642B18
accent
#5F2AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02171E

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

Preview Lab → · Contrast checker → · Palette generator →

#02171E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva