#02131F#02131F

#02131F is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.8% C 0.035 H 239.3°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#02131F
RGBrgb(2, 19, 31)
HSLhsl(205, 88%, 6%)
HSVhsv(205, 94%, 12%)
CMYKcmyk(93.5%, 38.7%, 0%, 87.8%)
CIE-LABlab(5.22, -1.79, -10.06)
CIE-LCHlch(5.22, 10.22, 259.89°)
OKLaboklab(17.82% -0.0181 -0.0304)
OKLCHoklch(17.82% 0.035 239.3)
XYZxyz(0.5051, 0.5775, 1.3809)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02131F #1F0E02
analogous
#021F1D #02131F #02051F
triadic
#02131F #1F0213 #131F02
tetradic
#02131F #1D021F #1F0E02 #051F02
square
#02131F #1D021F #1F0E02 #051F02
split-complementary
#02131F #1F0205 #1F1D02
monochromatic
#02121D #02121D #02131F #063658 #095992

Accessibility & contrast

On white

18.82
#02131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#02131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02131F
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02131F#FFFFFF#000000##FFFFFF
##02131F1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1320
Deuteranopia (green-blind)
#09101F
Tritanopia (blue-blind)
#001617
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #02131f;
/* rgb */ color: rgb(2, 19, 31);
/* oklch */ color: oklch(17.8% 0.035 239.3);
Tailwind
colors: {
  custom: {
    50: '#47505a',
    500: '#02131f',
    950: '#000000',
  },
}
SCSS
$custom: #02131f;
$custom-light: #47505a;
$custom-dark: #000000;
JSON
{
  "hex": "#02131f",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 204.828,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.17819,
    "c": 0.0354,
    "h": 239.3
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#02131F
secondary
#653818
accent
#822AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02131F

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

Preview Lab → · Contrast checker → · Palette generator →

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