#021222#021222

#021222 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.7% C 0.041 H 247.7°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#021222
RGBrgb(2, 18, 34)
HSLhsl(210, 89%, 7%)
HSVhsv(210, 94%, 13%)
CMYKcmyk(94.1%, 47.1%, 0%, 86.7%)
CIE-LABlab(5.07, -0.13, -12.60)
CIE-LCHlch(5.07, 12.60, 269.42°)
OKLaboklab(17.73% -0.0156 -0.0381)
OKLCHoklch(17.73% 0.041 247.7)
XYZxyz(0.5300, 0.5609, 1.5934)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021222 #221202
analogous
#022222 #021222 #020222
triadic
#021222 #220212 #122202
tetradic
#021222 #220222 #221202 #022202
square
#021222 #220222 #221202 #022202
split-complementary
#021222 #220202 #222202
monochromatic
#020F1D #020F1D #021222 #05315C #094F96

Accessibility & contrast

On white

18.88
#021222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#021222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021222
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021222#FFFFFF#000000##FFFFFF
##0212221.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1323
Deuteranopia (green-blind)
#061022
Tritanopia (blue-blind)
#001618
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #021222;
/* rgb */ color: rgb(2, 18, 34);
/* oklch */ color: oklch(17.7% 0.041 247.7);
Tailwind
colors: {
  custom: {
    50: '#47505d',
    500: '#021222',
    950: '#000000',
  },
}
SCSS
$custom: #021222;
$custom-light: #47505d;
$custom-dark: #000000;
JSON
{
  "hex": "#021222",
  "rgb": {
    "r": 2,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 210,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17726,
    "c": 0.04121,
    "h": 247.7
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#021222
secondary
#684018
accent
#9429FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000204
muted
#777879

Preview Lab

Preview with #021222

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

Preview Lab → · Contrast checker → · Palette generator →

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