#020121#020121

#020121 is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 12.1% C 0.072 H 271.4°. Best body text is #FFFFFF at 20.41:1 contrast (WCAG AA passes).

Color values

HEX#020121
RGBrgb(2, 1, 33)
HSLhsl(242, 94%, 7%)
HSVhsv(242, 97%, 13%)
CMYKcmyk(93.9%, 97%, 0%, 87.1%)
CIE-LABlab(1.30, 7.09, -17.57)
CIE-LCHlch(1.30, 18.95, 291.97°)
OKLaboklab(12.09% 0.0017 -0.0717)
OKLCHoklch(12.09% 0.072 271.4)
XYZxyz(0.3103, 0.1444, 1.4501)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020121 #202101
analogous
#011021 #020121 #120121
triadic
#020121 #210201 #012102
tetradic
#020121 #210110 #202101 #012112
square
#020121 #210110 #202101 #012112
split-complementary
#020121 #211201 #102101
monochromatic
#02011E #02011E #020121 #06035C #090598

Accessibility & contrast

On white

20.41
#020121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020121
20.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020121#FFFFFF#000000##FFFFFF
##0201211.0020.411.0320.41
#FFFFFF20.411.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000622
Deuteranopia (green-blind)
#000420
Tritanopia (blue-blind)
#00080F
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #020121;
/* rgb */ color: rgb(2, 1, 33);
/* oklch */ color: oklch(12.1% 0.072 271.4);
Tailwind
colors: {
  custom: {
    50: '#47475c',
    500: '#020121',
    950: '#000000',
  },
}
SCSS
$custom: #020121;
$custom-light: #47475c;
$custom-dark: #000000;
JSON
{
  "hex": "#020121",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 33
  },
  "hsl": {
    "h": 241.875,
    "s": 94.118,
    "l": 6.667
  },
  "oklch": {
    "l": 0.12093,
    "c": 0.07175,
    "h": 271.4
  },
  "luminance": 0.00144
}

Semantic roles & 50–950 ramp

primary
#020121
secondary
#666815
accent
#FF29F8
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #020121

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

Preview Lab → · Contrast checker → · Palette generator →

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