#020D22#020D22

#020D22 is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.2% C 0.048 H 258.0°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#020D22
RGBrgb(2, 13, 34)
HSLhsl(219, 89%, 7%)
HSVhsv(219, 94%, 13%)
CMYKcmyk(94.1%, 61.8%, 0%, 86.7%)
CIE-LABlab(3.76, 2.54, -14.60)
CIE-LCHlch(3.76, 14.82, 279.87°)
OKLaboklab(16.21% -0.01 -0.0474)
OKLCHoklch(16.21% 0.048 258)
XYZxyz(0.4576, 0.4162, 1.5693)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020D22 #221702
analogous
#021D22 #020D22 #070222
triadic
#020D22 #22020D #0D2202
tetradic
#020D22 #22021D #221702 #022207
square
#020D22 #22021D #221702 #022207
split-complementary
#020D22 #220702 #1D2202
monochromatic
#020B1D #020B1D #020D22 #05235C #093996

Accessibility & contrast

On white

19.39
#020D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#020D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020D22
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020D22#FFFFFF#000000##FFFFFF
##020D221.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030F23
Deuteranopia (green-blind)
#000C22
Tritanopia (blue-blind)
#001215
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020d22;
/* rgb */ color: rgb(2, 13, 34);
/* oklch */ color: oklch(16.2% 0.048 258.0);
Tailwind
colors: {
  custom: {
    50: '#474d5d',
    500: '#020d22',
    950: '#000000',
  },
}
SCSS
$custom: #020d22;
$custom-light: #474d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#020d22",
  "rgb": {
    "r": 2,
    "g": 13,
    "b": 34
  },
  "hsl": {
    "h": 219.375,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16206,
    "c": 0.04845,
    "h": 258
  },
  "luminance": 0.00416
}

Semantic roles & 50–950 ramp

primary
#020D22
secondary
#684C18
accent
#B529FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #020D22

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

Preview Lab → · Contrast checker → · Palette generator →

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