#021322#021322

#021322 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.0% C 0.040 H 245.1°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#021322
RGBrgb(2, 19, 34)
HSLhsl(208, 89%, 7%)
HSVhsv(208, 94%, 13%)
CMYKcmyk(94.1%, 44.1%, 0%, 86.7%)
CIE-LABlab(5.37, -0.74, -12.14)
CIE-LCHlch(5.37, 12.16, 266.49°)
OKLaboklab(18.04% -0.0168 -0.0362)
OKLCHoklch(18.04% 0.04 245.1)
XYZxyz(0.5465, 0.5941, 1.5989)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021322 #221102
analogous
#022221 #021322 #020322
triadic
#021322 #220213 #132202
tetradic
#021322 #210222 #221102 #032202
square
#021322 #210222 #221102 #032202
split-complementary
#021322 #220203 #222102
monochromatic
#02101D #02101D #021322 #05335C #095496

Accessibility & contrast

On white

18.77
#021322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#021322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021322
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021322#FFFFFF#000000##FFFFFF
##0213221.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1423
Deuteranopia (green-blind)
#071022
Tritanopia (blue-blind)
#001718
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #021322;
/* rgb */ color: rgb(2, 19, 34);
/* oklch */ color: oklch(18.0% 0.040 245.1);
Tailwind
colors: {
  custom: {
    50: '#47505d',
    500: '#021322',
    950: '#000000',
  },
}
SCSS
$custom: #021322;
$custom-light: #47505d;
$custom-dark: #000000;
JSON
{
  "hex": "#021322",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 34
  },
  "hsl": {
    "h": 208.125,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.1804,
    "c": 0.03997,
    "h": 245.1
  },
  "luminance": 0.00594
}

Semantic roles & 50–950 ramp

primary
#021322
secondary
#683D18
accent
#8D29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000204
muted
#777879

Preview Lab

Preview with #021322

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

Preview Lab → · Contrast checker → · Palette generator →

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