#222428#222428

#222428 is a dark, near-neutral blue. Relative luminance 0.018; OKLCH L 26.0% C 0.008 H 264.4°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#222428
RGBrgb(34, 36, 40)
HSLhsl(220, 8%, 15%)
HSVhsv(220, 15%, 16%)
CMYKcmyk(15%, 10%, 0%, 84.3%)
CIE-LABlab(14.15, 0.14, -2.97)
CIE-LCHlch(14.15, 2.97, 272.71°)
OKLaboklab(25.99% -0.0008 -0.008)
OKLCHoklch(25.99% 0.008 264.4)
XYZxyz(1.6735, 1.7550, 2.2577)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222428 #282622
analogous
#222728 #222428 #232228
triadic
#222428 #282224 #242822
tetradic
#222428 #282227 #282622 #222823
square
#222428 #282227 #282622 #222823
split-complementary
#222428 #282322 #272822
monochromatic
#0E0F11 #0E0F11 #222428 #3E4249 #5A606A

Accessibility & contrast

On white

15.54
#222428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#222428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222428
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222428#FFFFFF#000000##FFFFFF
##2224281.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232428
Deuteranopia (green-blind)
#222428
Tritanopia (blue-blind)
#212525
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #222428;
/* rgb */ color: rgb(34, 36, 40);
/* oklch */ color: oklch(26.0% 0.008 264.4);
Tailwind
colors: {
  custom: {
    50: '#5d5e61',
    500: '#222428',
    950: '#000000',
  },
}
SCSS
$custom: #222428;
$custom-light: #5d5e61;
$custom-dark: #000000;
JSON
{
  "hex": "#222428",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 40
  },
  "hsl": {
    "h": 220,
    "s": 8.108,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25991,
    "c": 0.00804,
    "h": 264.4
  },
  "luminance": 0.01755
}

Semantic roles & 50–950 ramp

primary
#222428
secondary
#58544E
accent
#9E77B1
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040405
muted
#797979

Preview Lab

Preview with #222428

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

Preview Lab → · Contrast checker → · Palette generator →

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