#020B1D#020B1D

#020B1D is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.1% C 0.043 H 257.7°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#020B1D
RGBrgb(2, 11, 29)
HSLhsl(220, 87%, 6%)
HSVhsv(220, 93%, 11%)
CMYKcmyk(93.1%, 62.1%, 0%, 88.6%)
CIE-LABlab(3.08, 1.74, -11.72)
CIE-LCHlch(3.08, 11.85, 278.43°)
OKLaboklab(15.14% -0.0091 -0.0416)
OKLCHoklch(15.14% 0.043 257.7)
XYZxyz(0.3664, 0.3409, 1.2087)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B1D #1D1402
analogous
#02181D #020B1D #06021D
triadic
#020B1D #1D020B #0B1D02
tetradic
#020B1D #1D0218 #1D1402 #021D06
square
#020B1D #1D0218 #1D1402 #021D06
split-complementary
#020B1D #1D0602 #181D02
monochromatic
#020B1D #020B1D #020B1D #062156 #0A3690

Accessibility & contrast

On white

19.66
#020B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#020B1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020B1D
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B1D#FFFFFF#000000##FFFFFF
##020B1D1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040D1E
Deuteranopia (green-blind)
#010A1D
Tritanopia (blue-blind)
#000F12
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #020b1d;
/* rgb */ color: rgb(2, 11, 29);
/* oklch */ color: oklch(15.1% 0.043 257.7);
Tailwind
colors: {
  custom: {
    50: '#474c58',
    500: '#020b1d',
    950: '#000000',
  },
}
SCSS
$custom: #020b1d;
$custom-light: #474c58;
$custom-dark: #000000;
JSON
{
  "hex": "#020b1d",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 29
  },
  "hsl": {
    "h": 220,
    "s": 87.097,
    "l": 6.078
  },
  "oklch": {
    "l": 0.15142,
    "c": 0.04257,
    "h": 257.7
  },
  "luminance": 0.00341
}

Semantic roles & 50–950 ramp

primary
#020B1D
secondary
#634A18
accent
#B72BFD
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #020B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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