#020010#020010

#020010 is a very dark, muted blue. Relative luminance 0.001; OKLCH L 8.6% C 0.051 H 283.4°. Best body text is #FFFFFF at 20.79:1 contrast (WCAG AA passes).

Color values

HEX#020010
RGBrgb(2, 0, 16)
HSLhsl(248, 100%, 3%)
HSVhsv(248, 100%, 6%)
CMYKcmyk(87.5%, 100%, 0%, 93.7%)
CIE-LABlab(0.45, 2.90, -6.28)
CIE-LCHlch(0.45, 6.91, 294.77°)
OKLaboklab(8.62% 0.0118 -0.0495)
OKLCHoklch(8.62% 0.051 283.4)
XYZxyz(0.1185, 0.0503, 0.4936)
Luminance0.0005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020010 #0E1000
analogous
#000610 #020010 #0A0010
triadic
#020010 #100200 #001002
tetradic
#020010 #100006 #0E1000 #00100A
square
#020010 #100006 #0E1000 #00100A
split-complementary
#020010 #100A00 #061000
monochromatic
#04001F #04001F #04001F #0A004D #11008A

Accessibility & contrast

On white

20.79
#020010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020010
20.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020010#FFFFFF#000000##FFFFFF
##0200101.0020.791.0120.79
#FFFFFF20.791.0021.001.00
#0000001.0121.001.0021.00
##FFFFFF20.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000211
Deuteranopia (green-blind)
#000110
Tritanopia (blue-blind)
#000205
Achromatopsia (no color)
#020202

Design tokens & code

CSS
--color: #020010;
/* rgb */ color: rgb(2, 0, 16);
/* oklch */ color: oklch(8.6% 0.051 283.4);
Tailwind
colors: {
  custom: {
    50: '#47474e',
    500: '#020010',
    950: '#000000',
  },
}
SCSS
$custom: #020010;
$custom-light: #47474e;
$custom-dark: #000000;
JSON
{
  "hex": "#020010",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 16
  },
  "hsl": {
    "h": 247.5,
    "s": 100,
    "l": 3.137
  },
  "oklch": {
    "l": 0.08624,
    "c": 0.05093,
    "h": 283.4
  },
  "luminance": 0.0005
}

Semantic roles & 50–950 ramp

primary
#020010
secondary
#525C10
accent
#FF29E4
background
#F4F3F4
surface
#E6E5E7
border
#C2C1C3
text
#000001
muted
#777777

Preview Lab

Preview with #020010

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

Preview Lab → · Contrast checker → · Palette generator →

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