#02111F#02111F

#02111F is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.2% C 0.038 H 245.5°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#02111F
RGBrgb(2, 17, 31)
HSLhsl(209, 88%, 6%)
HSVhsv(209, 94%, 12%)
CMYKcmyk(93.5%, 45.2%, 0%, 87.8%)
CIE-LABlab(4.63, -0.60, -10.95)
CIE-LCHlch(4.63, 10.96, 266.87°)
OKLaboklab(17.18% -0.0156 -0.0342)
OKLCHoklch(17.18% 0.038 245.5)
XYZxyz(0.4727, 0.5127, 1.3701)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02111F #1F1002
analogous
#021F1F #02111F #02021F
triadic
#02111F #1F0211 #111F02
tetradic
#02111F #1F021F #1F1002 #021F02
square
#02111F #1F021F #1F1002 #021F02
split-complementary
#02111F #1F0202 #1F1F02
monochromatic
#02101D #02101D #02111F #063158 #095092

Accessibility & contrast

On white

19.05
#02111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02111F
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02111F#FFFFFF#000000##FFFFFF
##02111F1.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1220
Deuteranopia (green-blind)
#060F1F
Tritanopia (blue-blind)
#001416
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #02111f;
/* rgb */ color: rgb(2, 17, 31);
/* oklch */ color: oklch(17.2% 0.038 245.5);
Tailwind
colors: {
  custom: {
    50: '#474f5a',
    500: '#02111f',
    950: '#000000',
  },
}
SCSS
$custom: #02111f;
$custom-light: #474f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#02111f",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 208.966,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.17178,
    "c": 0.03758,
    "h": 245.5
  },
  "luminance": 0.00513
}

Semantic roles & 50–950 ramp

primary
#02111F
secondary
#653D18
accent
#902AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #02111F

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

Preview Lab → · Contrast checker → · Palette generator →

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