#020B1E#020B1E

#020B1E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.2% C 0.044 H 258.6°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#020B1E
RGBrgb(2, 11, 30)
HSLhsl(221, 88%, 6%)
HSVhsv(221, 93%, 12%)
CMYKcmyk(93.3%, 63.3%, 0%, 88.2%)
CIE-LABlab(3.12, 2.06, -12.44)
CIE-LCHlch(3.12, 12.61, 279.39°)
OKLaboklab(15.24% -0.0088 -0.0435)
OKLCHoklch(15.24% 0.044 258.6)
XYZxyz(0.3790, 0.3459, 1.2748)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B1E #1E1502
analogous
#02191E #020B1E #07021E
triadic
#020B1E #1E020B #0B1E02
tetradic
#020B1E #1E0219 #1E1502 #021E07
square
#020B1E #1E0219 #1E1502 #021E07
split-complementary
#020B1E #1E0702 #191E02
monochromatic
#020B1D #020B1D #020B1E #062057 #0A3591

Accessibility & contrast

On white

19.64
#020B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020B1E
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B1E#FFFFFF#000000##FFFFFF
##020B1E1.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030D1F
Deuteranopia (green-blind)
#000A1E
Tritanopia (blue-blind)
#001012
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #020b1e;
/* rgb */ color: rgb(2, 11, 30);
/* oklch */ color: oklch(15.2% 0.044 258.6);
Tailwind
colors: {
  custom: {
    50: '#474c59',
    500: '#020b1e',
    950: '#000000',
  },
}
SCSS
$custom: #020b1e;
$custom-light: #474c59;
$custom-dark: #000000;
JSON
{
  "hex": "#020b1e",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 30
  },
  "hsl": {
    "h": 220.714,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.15235,
    "c": 0.0444,
    "h": 258.6
  },
  "luminance": 0.00346
}

Semantic roles & 50–950 ramp

primary
#020B1E
secondary
#644B18
accent
#BA2AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #020B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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