#508E7B#508E7B

#508E7B is a mid, moderate teal. Relative luminance 0.225; OKLCH L 59.9% C 0.071 H 172.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#508E7B
RGBrgb(80, 142, 123)
HSLhsl(162, 28%, 44%)
HSVhsv(162, 44%, 56%)
CMYKcmyk(43.7%, 0%, 13.4%, 44.3%)
CIE-LABlab(54.53, -24.79, 3.89)
CIE-LCHlch(54.53, 25.09, 171.08°)
OKLaboklab(59.9% -0.0706 0.0099)
OKLCHoklch(59.9% 0.071 172)
XYZxyz(16.5550, 22.4803, 22.2018)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E7B #8E5063
analogous
#508E5C #508E7B #50828E
triadic
#508E7B #7B508E #8E7B50
tetradic
#508E7B #5C508E #8E5063 #828E50
square
#508E7B #5C508E #8E5063 #828E50
split-complementary
#508E7B #8E5082 #8E5C50
monochromatic
#244037 #3A6759 #508E7B #6EAD9A #95C3B5

Accessibility & contrast

On white

3.82
#508E7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#508E7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E7B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E7B#FFFFFF#000000##000000
##508E7B1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B877A
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#3C8F88
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #508e7b;
/* rgb */ color: rgb(80, 142, 123);
/* oklch */ color: oklch(59.9% 0.071 172.0);
Tailwind
colors: {
  custom: {
    50: '#85afa1',
    500: '#508e7b',
    950: '#000000',
  },
}
SCSS
$custom: #508e7b;
$custom-light: #85afa1;
$custom-dark: #000000;
JSON
{
  "hex": "#508e7b",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 123
  },
  "hsl": {
    "h": 161.613,
    "s": 27.928,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.07129,
    "h": 172
  },
  "luminance": 0.22482
}

Semantic roles & 50–950 ramp

primary
#508E7B
secondary
#B08A95
accent
#6481C4
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100E
muted
#7C7F7E

Preview Lab

Preview with #508E7B

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

Preview Lab → · Contrast checker → · Palette generator →

#508E7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva