#508C7D#508C7D

#508C7D is a mid, moderate teal. Relative luminance 0.219; OKLCH L 59.5% C 0.067 H 176.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#508C7D
RGBrgb(80, 140, 125)
HSLhsl(165, 27%, 43%)
HSVhsv(165, 43%, 55%)
CMYKcmyk(42.9%, 0%, 10.7%, 45.1%)
CIE-LABlab(53.96, -23.29, 1.92)
CIE-LCHlch(53.96, 23.37, 175.30°)
OKLaboklab(59.46% -0.0671 0.0047)
OKLCHoklch(59.46% 0.067 176)
XYZxyz(16.3866, 21.9411, 22.7696)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C7D #8C505F
analogous
#508C5F #508C7D #507D8C
triadic
#508C7D #7D508C #8C7D50
tetradic
#508C7D #5F508C #8C505F #7D8C50
square
#508C7D #5F508C #8C505F #7D8C50
split-complementary
#508C7D #8C507D #8C5F50
monochromatic
#233E37 #3A655A #508C7D #6DAC9C #94C2B7

Accessibility & contrast

On white

3.90
#508C7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#508C7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C7D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C7D#FFFFFF#000000##000000
##508C7D1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88857C
Deuteranopia (green-blind)
#7E7E7E
Tritanopia (blue-blind)
#3B8D87
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508c7d;
/* rgb */ color: rgb(80, 140, 125);
/* oklch */ color: oklch(59.5% 0.067 176.0);
Tailwind
colors: {
  custom: {
    50: '#84aea2',
    500: '#508c7d',
    950: '#000000',
  },
}
SCSS
$custom: #508c7d;
$custom-light: #84aea2;
$custom-dark: #000000;
JSON
{
  "hex": "#508c7d",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 125
  },
  "hsl": {
    "h": 165,
    "s": 27.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.06729,
    "h": 176
  },
  "luminance": 0.21942
}

Semantic roles & 50–950 ramp

primary
#508C7D
secondary
#AF8992
accent
#647CC4
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100F
muted
#7C7F7E

Preview Lab

Preview with #508C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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