#222A2A#222A2A

#222A2A is a dark, near-neutral teal. Relative luminance 0.022; OKLCH L 27.7% C 0.011 H 196.5°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#222A2A
RGBrgb(34, 42, 42)
HSLhsl(180, 11%, 15%)
HSVhsv(180, 19%, 16%)
CMYKcmyk(19%, 0%, 0%, 83.5%)
CIE-LABlab(16.32, -3.48, -1.17)
CIE-LCHlch(16.32, 3.68, 198.61°)
OKLaboklab(27.73% -0.0108 -0.0032)
OKLCHoklch(27.73% 0.011 196.5)
XYZxyz(1.9055, 2.1631, 2.5072)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A2A #2A2222
analogous
#222A26 #222A2A #22262A
triadic
#222A2A #2A222A #2A2A22
tetradic
#222A2A #26222A #2A2222 #262A22
square
#222A2A #26222A #2A2222 #262A22
split-complementary
#222A2A #2A2226 #2A2622
monochromatic
#0E1111 #0E1111 #222A2A #3D4C4C #596E6E

Accessibility & contrast

On white

14.66
#222A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222A2A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A2A#FFFFFF#000000##FFFFFF
##222A2A1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292A
Deuteranopia (green-blind)
#27282A
Tritanopia (blue-blind)
#202B2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #222a2a;
/* rgb */ color: rgb(34, 42, 42);
/* oklch */ color: oklch(27.7% 0.011 196.5);
Tailwind
colors: {
  custom: {
    50: '#5d6363',
    500: '#222a2a',
    950: '#000000',
  },
}
SCSS
$custom: #222a2a;
$custom-light: #5d6363;
$custom-dark: #000000;
JSON
{
  "hex": "#222a2a",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 180,
    "s": 10.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27731,
    "c": 0.01122,
    "h": 196.5
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#222A2A
secondary
#5A4E4E
accent
#7474B3
background
#F5F5F5
surface
#E9EAEA
border
#C5C6C6
text
#040505
muted
#797979

Preview Lab

Preview with #222A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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