#020D1D#020D1D

#020D1D is a very dark, muted blue. Relative luminance 0.004; OKLCH L 15.8% C 0.040 H 253.2°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#020D1D
RGBrgb(2, 13, 29)
HSLhsl(216, 87%, 6%)
HSVhsv(216, 93%, 11%)
CMYKcmyk(93.1%, 55.2%, 0%, 88.6%)
CIE-LABlab(3.52, 0.84, -11.06)
CIE-LCHlch(3.52, 11.09, 274.34°)
OKLaboklab(15.76% -0.0114 -0.0378)
OKLCHoklch(15.76% 0.04 253.2)
XYZxyz(0.3906, 0.3894, 1.2167)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020D1D #1D1202
analogous
#021A1D #020D1D #04021D
triadic
#020D1D #1D020D #0D1D02
tetradic
#020D1D #1D021A #1D1202 #021D04
square
#020D1D #1D021A #1D1202 #021D04
split-complementary
#020D1D #1D0402 #1A1D02
monochromatic
#020D1D #020D1D #020D1D #062756 #0A4090

Accessibility & contrast

On white

19.48
#020D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#020D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020D1D
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020D1D#FFFFFF#000000##FFFFFF
##020D1D1.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1E
Deuteranopia (green-blind)
#030B1D
Tritanopia (blue-blind)
#001113
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020d1d;
/* rgb */ color: rgb(2, 13, 29);
/* oklch */ color: oklch(15.8% 0.040 253.2);
Tailwind
colors: {
  custom: {
    50: '#474d58',
    500: '#020d1d',
    950: '#000000',
  },
}
SCSS
$custom: #020d1d;
$custom-light: #474d58;
$custom-dark: #000000;
JSON
{
  "hex": "#020d1d",
  "rgb": {
    "r": 2,
    "g": 13,
    "b": 29
  },
  "hsl": {
    "h": 215.556,
    "s": 87.097,
    "l": 6.078
  },
  "oklch": {
    "l": 0.15757,
    "c": 0.03951,
    "h": 253.2
  },
  "luminance": 0.00389
}

Semantic roles & 50–950 ramp

primary
#020D1D
secondary
#634418
accent
#A72BFD
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #020D1D

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

Preview Lab → · Contrast checker → · Palette generator →

#020D1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva