#228797#228797

#228797 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.5% C 0.091 H 210.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#228797
RGBrgb(34, 135, 151)
HSLhsl(188, 63%, 36%)
HSVhsv(188, 77%, 59%)
CMYKcmyk(77.5%, 10.6%, 0%, 40.8%)
CIE-LABlab(51.72, -22.27, -16.66)
CIE-LCHlch(51.72, 27.81, 216.79°)
OKLaboklab(57.51% -0.0779 -0.0464)
OKLCHoklch(57.51% 0.091 210.8)
XYZxyz(14.9072, 19.9006, 32.3277)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228797 #973222
analogous
#22976D #228797 #224D97
triadic
#228797 #972287 #879722
tetradic
#228797 #6D2297 #973222 #4D9722
square
#228797 #6D2297 #973222 #4D9722
split-complementary
#228797 #97224D #976D22
monochromatic
#0C2E33 #175A65 #228797 #2DB4C9 #5AC8DA

Accessibility & contrast

On white

4.22
#228797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#228797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228797
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228797#FFFFFF#000000##000000
##2287971.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8298
Deuteranopia (green-blind)
#6A7697
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228797;
/* rgb */ color: rgb(34, 135, 151);
/* oklch */ color: oklch(57.5% 0.091 210.8);
Tailwind
colors: {
  custom: {
    50: '#71aab5',
    500: '#228797',
    950: '#000000',
  },
}
SCSS
$custom: #228797;
$custom-light: #71aab5;
$custom-dark: #000000;
JSON
{
  "hex": "#228797",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 151
  },
  "hsl": {
    "h": 188.205,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57512,
    "c": 0.0907,
    "h": 210.8
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#228797
secondary
#BE6557
accent
#5842E6
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #228797

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

Preview Lab → · Contrast checker → · Palette generator →

#228797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva