#020019#020019

#020019 is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 10.2% C 0.064 H 275.7°. Best body text is #FFFFFF at 20.66:1 contrast (WCAG AA passes).

Color values

HEX#020019
RGBrgb(2, 0, 25)
HSLhsl(245, 100%, 5%)
HSVhsv(245, 100%, 10%)
CMYKcmyk(92%, 100%, 0%, 90.2%)
CIE-LABlab(0.75, 4.97, -11.94)
CIE-LCHlch(0.75, 12.93, 292.62°)
OKLaboklab(10.21% 0.0063 -0.0635)
OKLCHoklch(10.21% 0.064 275.7)
XYZxyz(0.2004, 0.0831, 0.9250)
Luminance0.0008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020019 #171900
analogous
#000B19 #020019 #0F0019
triadic
#020019 #190200 #001902
tetradic
#020019 #19000B #171900 #00190F
square
#020019 #19000B #171900 #00190F
split-complementary
#020019 #190F00 #0B1900
monochromatic
#02001F #02001F #02001F #070056 #0C0093

Accessibility & contrast

On white

20.66
#020019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#020019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020019
20.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020019#FFFFFF#000000##FFFFFF
##0200191.0020.661.0220.66
#FFFFFF20.661.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00031A
Deuteranopia (green-blind)
#000218
Tritanopia (blue-blind)
#00050A
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #020019;
/* rgb */ color: rgb(2, 0, 25);
/* oklch */ color: oklch(10.2% 0.064 275.7);
Tailwind
colors: {
  custom: {
    50: '#474755',
    500: '#020019',
    950: '#000000',
  },
}
SCSS
$custom: #020019;
$custom-light: #474755;
$custom-dark: #000000;
JSON
{
  "hex": "#020019",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 25
  },
  "hsl": {
    "h": 244.8,
    "s": 100,
    "l": 4.902
  },
  "oklch": {
    "l": 0.10207,
    "c": 0.06379,
    "h": 275.7
  },
  "luminance": 0.00083
}

Semantic roles & 50–950 ramp

primary
#020019
secondary
#5D6312
accent
#FF29EE
background
#F4F3F4
surface
#E6E5E7
border
#C2C1C3
text
#000003
muted
#777778

Preview Lab

Preview with #020019

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

Preview Lab → · Contrast checker → · Palette generator →

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