#020011#020011

#020011 is a very dark, muted blue. Relative luminance 0.001; OKLCH L 8.8% C 0.052 H 282.3°. Best body text is #FFFFFF at 20.78:1 contrast (WCAG AA passes).

Color values

HEX#020011
RGBrgb(2, 0, 17)
HSLhsl(247, 100%, 3%)
HSVhsv(247, 100%, 7%)
CMYKcmyk(88.2%, 100%, 0%, 93.3%)
CIE-LABlab(0.48, 3.09, -6.80)
CIE-LCHlch(0.48, 7.47, 294.43°)
OKLaboklab(8.8% 0.0112 -0.0512)
OKLCHoklch(8.8% 0.052 282.3)
XYZxyz(0.1262, 0.0534, 0.5339)
Luminance0.0005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020011 #0F1100
analogous
#000611 #020011 #0A0011
triadic
#020011 #110200 #001102
tetradic
#020011 #110006 #0F1100 #00110A
square
#020011 #110006 #0F1100 #00110A
split-complementary
#020011 #110A00 #061100
monochromatic
#04001F #04001F #04001F #09004E #10008B

Accessibility & contrast

On white

20.78
#020011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.01
#020011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020011
20.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020011#FFFFFF#000000##FFFFFF
##0200111.0020.781.0120.78
#FFFFFF20.781.0021.001.00
#0000001.0121.001.0021.00
##FFFFFF20.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000212
Deuteranopia (green-blind)
#000111
Tritanopia (blue-blind)
#000306
Achromatopsia (no color)
#020202

Design tokens & code

CSS
--color: #020011;
/* rgb */ color: rgb(2, 0, 17);
/* oklch */ color: oklch(8.8% 0.052 282.3);
Tailwind
colors: {
  custom: {
    50: '#47474f',
    500: '#020011',
    950: '#000000',
  },
}
SCSS
$custom: #020011;
$custom-light: #47474f;
$custom-dark: #000000;
JSON
{
  "hex": "#020011",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 17
  },
  "hsl": {
    "h": 247.059,
    "s": 100,
    "l": 3.333
  },
  "oklch": {
    "l": 0.08798,
    "c": 0.05236,
    "h": 282.3
  },
  "luminance": 0.00053
}

Semantic roles & 50–950 ramp

primary
#020011
secondary
#545C10
accent
#FF29E6
background
#F4F3F4
surface
#E6E5E7
border
#C2C1C3
text
#000001
muted
#777777

Preview Lab

Preview with #020011

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

Preview Lab → · Contrast checker → · Palette generator →

#020011 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva