#22787F#22787F

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

Color values

HEX#22787F
RGBrgb(34, 120, 127)
HSLhsl(185, 58%, 32%)
HSVhsv(185, 73%, 50%)
CMYKcmyk(73.2%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.05, -22.28, -11.15)
CIE-LCHlch(46.05, 24.92, 206.59°)
OKLaboklab(52.64% -0.0728 -0.031)
OKLCHoklch(52.64% 0.079 203)
XYZxyz(11.2052, 15.3040, 22.4380)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22787F #7F2922
analogous
#227F58 #22787F #224A7F
triadic
#22787F #7F2278 #787F22
tetradic
#22787F #58227F #7F2922 #4A7F22
square
#22787F #58227F #7F2922 #4A7F22
split-complementary
#22787F #7F224A #7F5822
monochromatic
#081D1E #154A4F #22787F #2FA6AF #4CC5CF

Accessibility & contrast

On white

5.17
#22787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #22787F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22787F#FFFFFF#000000##FFFFFF
##22787F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22787f;
/* rgb */ color: rgb(34, 120, 127);
/* oklch */ color: oklch(52.6% 0.079 203.0);
Tailwind
colors: {
  custom: {
    50: '#6c9fa4',
    500: '#22787f',
    950: '#000000',
  },
}
SCSS
$custom: #22787f;
$custom-light: #6c9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#22787f",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.516,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.07915,
    "h": 203
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#22787F
secondary
#B2534B
accent
#5247E1
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #22787F

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

Preview Lab → · Contrast checker → · Palette generator →

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