#02131E#02131E

#02131E is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.7% C 0.034 H 237.0°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#02131E
RGBrgb(2, 19, 30)
HSLhsl(204, 88%, 6%)
HSVhsv(204, 93%, 12%)
CMYKcmyk(93.3%, 36.7%, 0%, 88.2%)
CIE-LABlab(5.17, -2.12, -9.36)
CIE-LCHlch(5.17, 9.60, 257.24°)
OKLaboklab(17.75% -0.0185 -0.0285)
OKLCHoklch(17.75% 0.034 237)
XYZxyz(0.4922, 0.5723, 1.3126)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02131E #1E0D02
analogous
#021E1B #02131E #02051E
triadic
#02131E #1E0213 #131E02
tetradic
#02131E #1B021E #1E0D02 #051E02
square
#02131E #1B021E #1E0D02 #051E02
split-complementary
#02131E #1E0205 #1E1B02
monochromatic
#02121D #02121D #02131E #063757 #0A5C91

Accessibility & contrast

On white

18.84
#02131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#02131E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02131E
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02131E#FFFFFF#000000##FFFFFF
##02131E1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02131e;
/* rgb */ color: rgb(2, 19, 30);
/* oklch */ color: oklch(17.7% 0.034 237.0);
Tailwind
colors: {
  custom: {
    50: '#475059',
    500: '#02131e',
    950: '#000000',
  },
}
SCSS
$custom: #02131e;
$custom-light: #475059;
$custom-dark: #000000;
JSON
{
  "hex": "#02131e",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 203.571,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.17749,
    "c": 0.03398,
    "h": 237
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#02131E
secondary
#643618
accent
#7D2AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02131E

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

Preview Lab → · Contrast checker → · Palette generator →

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