#020A1B#020A1B

#020A1B is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.7% C 0.040 H 258.0°. Best body text is #FFFFFF at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#020A1B
RGBrgb(2, 10, 27)
HSLhsl(221, 86%, 6%)
HSVhsv(221, 93%, 11%)
CMYKcmyk(92.6%, 63%, 0%, 89.4%)
CIE-LABlab(2.79, 1.54, -10.56)
CIE-LCHlch(2.79, 10.67, 278.28°)
OKLaboklab(14.65% -0.0084 -0.0396)
OKLCHoklch(14.65% 0.04 258)
XYZxyz(0.3313, 0.3091, 1.0789)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A1B #1B1302
analogous
#02161B #020A1B #06021B
triadic
#020A1B #1B020A #0A1B02
tetradic
#020A1B #1B0216 #1B1302 #021B06
square
#020A1B #1B0216 #1B1302 #021B06
split-complementary
#020A1B #1B0602 #161B02
monochromatic
#020B1C #020B1C #020B1C #061F54 #0A348D

Accessibility & contrast

On white

19.78
#020A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020A1B
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A1B#FFFFFF#000000##FFFFFF
##020A1B1.0019.781.0619.78
#FFFFFF19.781.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030C1C
Deuteranopia (green-blind)
#01091B
Tritanopia (blue-blind)
#000E11
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #020a1b;
/* rgb */ color: rgb(2, 10, 27);
/* oklch */ color: oklch(14.7% 0.040 258.0);
Tailwind
colors: {
  custom: {
    50: '#474b57',
    500: '#020a1b',
    950: '#000000',
  },
}
SCSS
$custom: #020a1b;
$custom-light: #474b57;
$custom-dark: #000000;
JSON
{
  "hex": "#020a1b",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 27
  },
  "hsl": {
    "h": 220.8,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.14654,
    "c": 0.04048,
    "h": 258
  },
  "luminance": 0.00309
}

Semantic roles & 50–950 ramp

primary
#020A1B
secondary
#614A18
accent
#BA2BFC
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #020A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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