#22797F#22797F

#22797F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.080 H 201.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#22797F
RGBrgb(34, 121, 127)
HSLhsl(184, 58%, 32%)
HSVhsv(184, 73%, 50%)
CMYKcmyk(73.2%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.37, -22.80, -10.66)
CIE-LCHlch(46.37, 25.17, 205.07°)
OKLaboklab(52.9% -0.0739 -0.0296)
OKLCHoklch(52.9% 0.08 201.8)
XYZxyz(11.3261, 15.5458, 22.4783)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22797F #7F2822
analogous
#227F57 #22797F #224B7F
triadic
#22797F #7F2279 #797F22
tetradic
#22797F #57227F #7F2822 #4B7F22
square
#22797F #57227F #7F2822 #4B7F22
split-complementary
#22797F #7F224B #7F5722
monochromatic
#081D1E #154B4F #22797F #2FA7AF #4CC7CF

Accessibility & contrast

On white

5.11
#22797F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#22797F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22797F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22797F#FFFFFF#000000##FFFFFF
##22797F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F747F
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #22797f;
/* rgb */ color: rgb(34, 121, 127);
/* oklch */ color: oklch(52.9% 0.080 201.8);
Tailwind
colors: {
  custom: {
    50: '#6ca0a4',
    500: '#22797f',
    950: '#000000',
  },
}
SCSS
$custom: #22797f;
$custom-light: #6ca0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22797f",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 183.871,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.07963,
    "h": 201.8
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

primary
#22797F
secondary
#B2524B
accent
#5147E1
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #22797F

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

Preview Lab → · Contrast checker → · Palette generator →

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