#222224#222224

#222224 is a dark, near-neutral grey. Relative luminance 0.016; OKLCH L 25.3% C 0.004 H 286.1°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#222224
RGBrgb(34, 34, 36)
HSLhsl(240, 3%, 14%)
HSVhsv(240, 6%, 14%)
CMYKcmyk(5.6%, 5.6%, 0%, 85.9%)
CIE-LABlab(13.30, 0.50, -1.34)
CIE-LCHlch(13.30, 1.43, 290.61°)
OKLaboklab(25.28% 0.001 -0.0036)
OKLCHoklch(25.28% 0.004 286.1)
XYZxyz(1.5501, 1.6115, 1.8981)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222224 #242422
analogous
#222324 #222224 #232224
triadic
#222224 #242222 #222422
tetradic
#222224 #242223 #242422 #222423
square
#222224 #242223 #242422 #222423
split-complementary
#222224 #242322 #232422
monochromatic
#0F0F10 #0F0F10 #222224 #404043 #5D5D63

Accessibility & contrast

On white

15.88
#222224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#222224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222224
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222224#FFFFFF#000000##FFFFFF
##2222241.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222224
Deuteranopia (green-blind)
#222224
Tritanopia (blue-blind)
#222223
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #222224;
/* rgb */ color: rgb(34, 34, 36);
/* oklch */ color: oklch(25.3% 0.004 286.1);
Tailwind
colors: {
  custom: {
    50: '#5c5c5e',
    500: '#222224',
    950: '#000000',
  },
}
SCSS
$custom: #222224;
$custom-light: #5c5c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#222224",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 36
  },
  "hsl": {
    "h": 240,
    "s": 2.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25277,
    "c": 0.00372,
    "h": 286.1
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#222224
secondary
#53534F
accent
#AC7CAC
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040404
muted
#797979

Preview Lab

Preview with #222224

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

Preview Lab → · Contrast checker → · Palette generator →

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