#222022#222022

#222022 is a very dark, near-neutral grey. Relative luminance 0.015; OKLCH L 24.7% C 0.005 H 325.8°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#222022
RGBrgb(34, 32, 34)
HSLhsl(300, 3%, 13%)
HSVhsv(300, 6%, 13%)
CMYKcmyk(0%, 5.9%, 0%, 86.7%)
CIE-LABlab(12.54, 1.43, -1.01)
CIE-LCHlch(12.54, 1.76, 324.70°)
OKLaboklab(24.65% 0.0039 -0.0027)
OKLCHoklch(24.65% 0.005 325.8)
XYZxyz(1.4649, 1.4886, 1.7232)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222022 #202220
analogous
#212022 #222022 #222021
triadic
#222022 #222220 #202222
tetradic
#222022 #222120 #202220 #202122
square
#222022 #222120 #202220 #202122
split-complementary
#222022 #212220 #202221
monochromatic
#100F10 #100F10 #222022 #423E42 #615B61

Accessibility & contrast

On white

16.18
#222022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#222022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222022
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222022#FFFFFF#000000##FFFFFF
##2220221.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202022
Deuteranopia (green-blind)
#202122
Tritanopia (blue-blind)
#222021
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #222022;
/* rgb */ color: rgb(34, 32, 34);
/* oklch */ color: oklch(24.7% 0.005 325.8);
Tailwind
colors: {
  custom: {
    50: '#5c5b5c',
    500: '#222022',
    950: '#000000',
  },
}
SCSS
$custom: #222022;
$custom-light: #5c5b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#222022",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 34
  },
  "hsl": {
    "h": 300,
    "s": 3.03,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24653,
    "c": 0.00477,
    "h": 325.8
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#222022
secondary
#4D514D
accent
#AC7C7C
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040404
muted
#797979

Preview Lab

Preview with #222022

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

Preview Lab → · Contrast checker → · Palette generator →

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