#020B1B#020B1B

#020B1B is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.0% C 0.039 H 255.7°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#020B1B
RGBrgb(2, 11, 27)
HSLhsl(218, 86%, 6%)
HSVhsv(218, 93%, 11%)
CMYKcmyk(92.6%, 59.3%, 0%, 89.4%)
CIE-LABlab(2.99, 1.13, -10.26)
CIE-LCHlch(2.99, 10.32, 276.29°)
OKLaboklab(14.96% -0.0096 -0.0377)
OKLCHoklch(14.96% 0.039 255.7)
XYZxyz(0.3425, 0.3313, 1.0826)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B1B #1B1202
analogous
#02171B #020B1B #05021B
triadic
#020B1B #1B020B #0B1B02
tetradic
#020B1B #1B0217 #1B1202 #021B05
square
#020B1B #1B0217 #1B1202 #021B05
split-complementary
#020B1B #1B0502 #171B02
monochromatic
#020C1C #020C1C #020C1C #062254 #0A398D

Accessibility & contrast

On white

19.70
#020B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020B1B
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B1B#FFFFFF#000000##FFFFFF
##020B1B1.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050C1C
Deuteranopia (green-blind)
#020A1B
Tritanopia (blue-blind)
#000F11
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #020b1b;
/* rgb */ color: rgb(2, 11, 27);
/* oklch */ color: oklch(15.0% 0.039 255.7);
Tailwind
colors: {
  custom: {
    50: '#474c57',
    500: '#020b1b',
    950: '#000000',
  },
}
SCSS
$custom: #020b1b;
$custom-light: #474c57;
$custom-dark: #000000;
JSON
{
  "hex": "#020b1b",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 27
  },
  "hsl": {
    "h": 218.4,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.14961,
    "c": 0.03891,
    "h": 255.7
  },
  "luminance": 0.00331
}

Semantic roles & 50–950 ramp

primary
#020B1B
secondary
#614718
accent
#B12BFC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #020B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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