#222628#222628

#222628 is a dark, near-neutral cyan. Relative luminance 0.019; OKLCH L 26.5% C 0.007 H 229.1°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#222628
RGBrgb(34, 38, 40)
HSLhsl(200, 8%, 15%)
HSVhsv(200, 15%, 16%)
CMYKcmyk(15%, 5%, 0%, 84.3%)
CIE-LABlab(14.84, -1.27, -1.94)
CIE-LCHlch(14.84, 2.32, 236.76°)
OKLaboklab(26.54% -0.0045 -0.0052)
OKLCHoklch(26.54% 0.007 229.1)
XYZxyz(1.7357, 1.8795, 2.2784)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222628 #282422
analogous
#222827 #222628 #222328
triadic
#222628 #282226 #262822
tetradic
#222628 #272228 #282422 #232822
square
#222628 #272228 #282422 #232822
split-complementary
#222628 #282223 #282722
monochromatic
#0E1011 #0E1011 #222628 #3E4549 #5A656A

Accessibility & contrast

On white

15.26
#222628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#222628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222628
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222628#FFFFFF#000000##FFFFFF
##2226281.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#242528
Tritanopia (blue-blind)
#202727
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #222628;
/* rgb */ color: rgb(34, 38, 40);
/* oklch */ color: oklch(26.5% 0.007 229.1);
Tailwind
colors: {
  custom: {
    50: '#5d6061',
    500: '#222628',
    950: '#000000',
  },
}
SCSS
$custom: #222628;
$custom-light: #5d6061;
$custom-dark: #000000;
JSON
{
  "hex": "#222628",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 40
  },
  "hsl": {
    "h": 200,
    "s": 8.108,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26538,
    "c": 0.0069,
    "h": 229.1
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#222628
secondary
#58514E
accent
#8A77B1
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040405
muted
#797979

Preview Lab

Preview with #222628

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

Preview Lab → · Contrast checker → · Palette generator →

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