#222A28#222A28

#222A28 is a dark, near-neutral teal. Relative luminance 0.021; OKLCH L 27.7% C 0.012 H 178.6°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#222A28
RGBrgb(34, 42, 40)
HSLhsl(165, 11%, 15%)
HSVhsv(165, 19%, 16%)
CMYKcmyk(19%, 0%, 4.8%, 83.5%)
CIE-LABlab(16.25, -4.02, 0.13)
CIE-LCHlch(16.25, 4.02, 178.10°)
OKLaboklab(27.65% -0.0118 0.0003)
OKLCHoklch(27.65% 0.012 178.6)
XYZxyz(1.8706, 2.1492, 2.3233)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A28 #2A2224
analogous
#222A24 #222A28 #22282A
triadic
#222A28 #28222A #2A2822
tetradic
#222A28 #24222A #2A2224 #282A22
square
#222A28 #24222A #2A2224 #282A22
split-complementary
#222A28 #2A2228 #2A2422
monochromatic
#0E1110 #0E1110 #222A28 #3D4C48 #596E68

Accessibility & contrast

On white

14.69
#222A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#222A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A28
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A28#FFFFFF#000000##FFFFFF
##222A281.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292928
Deuteranopia (green-blind)
#282828
Tritanopia (blue-blind)
#202A29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #222a28;
/* rgb */ color: rgb(34, 42, 40);
/* oklch */ color: oklch(27.7% 0.012 178.6);
Tailwind
colors: {
  custom: {
    50: '#5d6361',
    500: '#222a28',
    950: '#000000',
  },
}
SCSS
$custom: #222a28;
$custom-light: #5d6361;
$custom-dark: #000000;
JSON
{
  "hex": "#222a28",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 165,
    "s": 10.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27653,
    "c": 0.01182,
    "h": 178.6
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#222A28
secondary
#5A4E51
accent
#7484B3
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#040505
muted
#797979

Preview Lab

Preview with #222A28

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

Preview Lab → · Contrast checker → · Palette generator →

#222A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva