#02101F#02101F

#02101F is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 16.9% C 0.039 H 248.3°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#02101F
RGBrgb(2, 16, 31)
HSLhsl(211, 88%, 6%)
HSVhsv(211, 94%, 12%)
CMYKcmyk(93.5%, 48.4%, 0%, 87.8%)
CIE-LABlab(4.36, -0.04, -11.36)
CIE-LCHlch(4.36, 11.36, 269.81°)
OKLaboklab(16.86% -0.0144 -0.0361)
OKLCHoklch(16.86% 0.039 248.3)
XYZxyz(0.4576, 0.4824, 1.3650)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02101F #1F1102
analogous
#021F1F #02101F #02021F
triadic
#02101F #1F0210 #101F02
tetradic
#02101F #1F021F #1F1102 #021F02
square
#02101F #1F021F #1F1102 #021F02
split-complementary
#02101F #1F0202 #1F1F02
monochromatic
#020F1D #020F1D #02101F #062E58 #094B92

Accessibility & contrast

On white

19.15
#02101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#02101F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02101F
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02101F#FFFFFF#000000##FFFFFF
##02101F1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091120
Deuteranopia (green-blind)
#050E1F
Tritanopia (blue-blind)
#001415
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #02101f;
/* rgb */ color: rgb(2, 16, 31);
/* oklch */ color: oklch(16.9% 0.039 248.3);
Tailwind
colors: {
  custom: {
    50: '#474e5a',
    500: '#02101f',
    950: '#000000',
  },
}
SCSS
$custom: #02101f;
$custom-light: #474e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#02101f",
  "rgb": {
    "r": 2,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 211.034,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.16862,
    "c": 0.03882,
    "h": 248.3
  },
  "luminance": 0.00482
}

Semantic roles & 50–950 ramp

primary
#02101F
secondary
#654018
accent
#982AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #02101F

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

Preview Lab → · Contrast checker → · Palette generator →

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