#22787E#22787E

#22787E is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.079 H 201.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#22787E
RGBrgb(34, 120, 126)
HSLhsl(184, 58%, 31%)
HSVhsv(184, 73%, 49%)
CMYKcmyk(73%, 4.8%, 0%, 50.6%)
CIE-LABlab(46.01, -22.60, -10.61)
CIE-LCHlch(46.01, 24.97, 205.15°)
OKLaboklab(52.6% -0.0733 -0.0295)
OKLCHoklch(52.6% 0.079 201.9)
XYZxyz(11.1404, 15.2781, 22.0964)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22787E #7E2822
analogous
#227E56 #22787E #224A7E
triadic
#22787E #7E2278 #787E22
tetradic
#22787E #56227E #7E2822 #4A7E22
square
#22787E #56227E #7E2822 #4A7E22
split-complementary
#22787E #7E224A #7E5622
monochromatic
#081C1E #154A4E #22787E #2FA6AE #4CC6CF

Accessibility & contrast

On white

5.18
#22787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#22787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22787E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22787E#FFFFFF#000000##FFFFFF
##22787E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E737E
Deuteranopia (green-blind)
#61697E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #22787e;
/* rgb */ color: rgb(34, 120, 126);
/* oklch */ color: oklch(52.6% 0.079 201.9);
Tailwind
colors: {
  custom: {
    50: '#6c9fa3',
    500: '#22787e',
    950: '#000000',
  },
}
SCSS
$custom: #22787e;
$custom-light: #6c9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#22787e",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 183.913,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.079,
    "h": 201.9
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

primary
#22787E
secondary
#B1524B
accent
#5147E1
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #22787E

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

Preview Lab → · Contrast checker → · Palette generator →

#22787E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva