#020022#020022

#020022 is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 11.8% C 0.076 H 271.5°. Best body text is #FFFFFF at 20.48:1 contrast (WCAG AA passes).

Color values

HEX#020022
RGBrgb(2, 0, 34)
HSLhsl(244, 100%, 7%)
HSVhsv(244, 100%, 13%)
CMYKcmyk(94.1%, 100%, 0%, 86.7%)
CIE-LABlab(1.16, 7.85, -18.58)
CIE-LCHlch(1.16, 20.17, 292.90°)
OKLaboklab(11.8% 0.0021 -0.0763)
OKLCHoklch(11.8% 0.076 271.5)
XYZxyz(0.3137, 0.1284, 1.5213)
Luminance0.0013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020022 #202200
analogous
#000F22 #020022 #130022
triadic
#020022 #220200 #002202
tetradic
#020022 #22000F #202200 #002213
square
#020022 #22000F #202200 #002213
split-complementary
#020022 #221300 #0F2200
monochromatic
#02001F #02001F #020022 #06005F #09009C

Accessibility & contrast

On white

20.48
#020022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#020022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020022
20.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020022#FFFFFF#000000##FFFFFF
##0200221.0020.481.0320.48
#FFFFFF20.481.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000523
Deuteranopia (green-blind)
#000321
Tritanopia (blue-blind)
#00080F
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #020022;
/* rgb */ color: rgb(2, 0, 34);
/* oklch */ color: oklch(11.8% 0.076 271.5);
Tailwind
colors: {
  custom: {
    50: '#47475d',
    500: '#020022',
    950: '#000000',
  },
}
SCSS
$custom: #020022;
$custom-light: #47475d;
$custom-dark: #000000;
JSON
{
  "hex": "#020022",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 34
  },
  "hsl": {
    "h": 243.529,
    "s": 100,
    "l": 6.667
  },
  "oklch": {
    "l": 0.11803,
    "c": 0.07632,
    "h": 271.5
  },
  "luminance": 0.00128
}

Semantic roles & 50–950 ramp

primary
#020022
secondary
#666B13
accent
#FF29F2
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #020022

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

Preview Lab → · Contrast checker → · Palette generator →

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