#020A19#020A19

#020A19 is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.5% C 0.037 H 255.9°. Best body text is #FFFFFF at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#020A19
RGBrgb(2, 10, 25)
HSLhsl(219, 85%, 5%)
HSVhsv(219, 92%, 10%)
CMYKcmyk(92%, 60%, 0%, 90.2%)
CIE-LABlab(2.71, 0.97, -9.07)
CIE-LCHlch(2.71, 9.13, 276.12°)
OKLaboklab(14.47% -0.009 -0.0357)
OKLCHoklch(14.47% 0.037 255.9)
XYZxyz(0.3090, 0.3001, 0.9612)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A19 #191102
analogous
#021519 #020A19 #050219
triadic
#020A19 #19020A #0A1902
tetradic
#020A19 #190215 #191102 #021905
square
#020A19 #190215 #191102 #021905
split-complementary
#020A19 #190502 #151902
monochromatic
#020B1C #020B1C #020B1C #072152 #0B378A

Accessibility & contrast

On white

19.81
#020A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#020A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020A19
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A19#FFFFFF#000000##FFFFFF
##020A191.0019.811.0619.81
#FFFFFF19.811.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040B1A
Deuteranopia (green-blind)
#020919
Tritanopia (blue-blind)
#000E10
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #020a19;
/* rgb */ color: rgb(2, 10, 25);
/* oklch */ color: oklch(14.5% 0.037 255.9);
Tailwind
colors: {
  custom: {
    50: '#474b55',
    500: '#020a19',
    950: '#000000',
  },
}
SCSS
$custom: #020a19;
$custom-light: #474b55;
$custom-dark: #000000;
JSON
{
  "hex": "#020a19",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 25
  },
  "hsl": {
    "h": 219.13,
    "s": 85.185,
    "l": 5.294
  },
  "oklch": {
    "l": 0.14473,
    "c": 0.03677,
    "h": 255.9
  },
  "luminance": 0.003
}

Semantic roles & 50–950 ramp

primary
#020A19
secondary
#5F4618
accent
#B32CFB
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000103
muted
#777778

Preview Lab

Preview with #020A19

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

Preview Lab → · Contrast checker → · Palette generator →

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