#010221#010221

#010221 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.3% C 0.070 H 267.5°. Best body text is #FFFFFF at 20.35:1 contrast (WCAG AA passes).

Color values

HEX#010221
RGBrgb(1, 2, 33)
HSLhsl(238, 94%, 7%)
HSVhsv(238, 97%, 13%)
CMYKcmyk(97%, 93.9%, 0%, 87.1%)
CIE-LABlab(1.44, 6.43, -17.37)
CIE-LCHlch(1.44, 18.52, 290.31°)
OKLaboklab(12.35% -0.0031 -0.0697)
OKLCHoklch(12.35% 0.07 267.5)
XYZxyz(0.3086, 0.1596, 1.4531)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010221 #212001
analogous
#011221 #010221 #100121
triadic
#010221 #210102 #022101
tetradic
#010221 #210112 #212001 #012110
square
#010221 #210112 #212001 #012110
split-complementary
#010221 #211001 #122101
monochromatic
#01021E #01021E #010221 #03065C #050998

Accessibility & contrast

On white

20.35
#010221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010221
20.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010221#FFFFFF#000000##FFFFFF
##0102211.0020.351.0320.35
#FFFFFF20.351.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000722
Deuteranopia (green-blind)
#000420
Tritanopia (blue-blind)
#000910
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #010221;
/* rgb */ color: rgb(1, 2, 33);
/* oklch */ color: oklch(12.3% 0.070 267.5);
Tailwind
colors: {
  custom: {
    50: '#46485c',
    500: '#010221',
    950: '#000000',
  },
}
SCSS
$custom: #010221;
$custom-light: #46485c;
$custom-dark: #000000;
JSON
{
  "hex": "#010221",
  "rgb": {
    "r": 1,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 238.125,
    "s": 94.118,
    "l": 6.667
  },
  "oklch": {
    "l": 0.1235,
    "c": 0.06981,
    "h": 267.5
  },
  "luminance": 0.0016
}

Semantic roles & 50–950 ramp

primary
#010221
secondary
#686615
accent
#F829FF
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000004
muted
#777779

Preview Lab

Preview with #010221

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

Preview Lab → · Contrast checker → · Palette generator →

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