#02111B#02111B

#02111B is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 16.9% C 0.031 H 236.7°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#02111B
RGBrgb(2, 17, 27)
HSLhsl(204, 86%, 6%)
HSVhsv(204, 93%, 11%)
CMYKcmyk(92.6%, 37%, 0%, 89.4%)
CIE-LABlab(4.45, -1.86, -8.10)
CIE-LCHlch(4.45, 8.31, 257.10°)
OKLaboklab(16.89% -0.0173 -0.0263)
OKLCHoklch(16.89% 0.031 236.7)
XYZxyz(0.4232, 0.4929, 1.1095)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02111B #1B0C02
analogous
#021B18 #02111B #02041B
triadic
#02111B #1B0211 #111B02
tetradic
#02111B #18021B #1B0C02 #041B02
square
#02111B #18021B #1B0C02 #041B02
split-complementary
#02111B #1B0204 #1B1802
monochromatic
#02121C #02121C #02121C #063554 #0A598D

Accessibility & contrast

On white

19.12
#02111B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02111B
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02111B#FFFFFF#000000##FFFFFF
##02111B1.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111B
Deuteranopia (green-blind)
#080E1B
Tritanopia (blue-blind)
#001414
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #02111b;
/* rgb */ color: rgb(2, 17, 27);
/* oklch */ color: oklch(16.9% 0.031 236.7);
Tailwind
colors: {
  custom: {
    50: '#474f57',
    500: '#02111b',
    950: '#000000',
  },
}
SCSS
$custom: #02111b;
$custom-light: #474f57;
$custom-dark: #000000;
JSON
{
  "hex": "#02111b",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 27
  },
  "hsl": {
    "h": 204,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.16886,
    "c": 0.03148,
    "h": 236.7
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#02111B
secondary
#613518
accent
#7F2BFC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #02111B

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

Preview Lab → · Contrast checker → · Palette generator →

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