#021122#021122

#021122 is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.4% C 0.043 H 250.1°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#021122
RGBrgb(2, 17, 34)
HSLhsl(212, 89%, 7%)
HSVhsv(212, 94%, 13%)
CMYKcmyk(94.1%, 50%, 0%, 86.7%)
CIE-LABlab(4.78, 0.46, -13.04)
CIE-LCHlch(4.78, 13.05, 272.00°)
OKLaboklab(17.42% -0.0145 -0.04)
OKLCHoklch(17.42% 0.043 250.1)
XYZxyz(0.5141, 0.5292, 1.5881)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021122 #221302
analogous
#022122 #021122 #030222
triadic
#021122 #220211 #112202
tetradic
#021122 #220221 #221302 #022203
square
#021122 #220221 #221302 #022203
split-complementary
#021122 #220302 #212202
monochromatic
#020E1D #020E1D #021122 #052E5C #094B96

Accessibility & contrast

On white

18.99
#021122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021122
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021122#FFFFFF#000000##FFFFFF
##0211221.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091223
Deuteranopia (green-blind)
#050F22
Tritanopia (blue-blind)
#001517
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #021122;
/* rgb */ color: rgb(2, 17, 34);
/* oklch */ color: oklch(17.4% 0.043 250.1);
Tailwind
colors: {
  custom: {
    50: '#474f5d',
    500: '#021122',
    950: '#000000',
  },
}
SCSS
$custom: #021122;
$custom-light: #474f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#021122",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 34
  },
  "hsl": {
    "h": 211.875,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17415,
    "c": 0.04252,
    "h": 250.1
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#021122
secondary
#684218
accent
#9B29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #021122

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

Preview Lab → · Contrast checker → · Palette generator →

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