#508C8A#508C8A

#508C8A is a mid, moderate teal. Relative luminance 0.223; OKLCH L 59.9% C 0.063 H 192.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#508C8A
RGBrgb(80, 140, 138)
HSLhsl(178, 27%, 43%)
HSVhsv(178, 43%, 55%)
CMYKcmyk(42.9%, 0%, 1.4%, 45.1%)
CIE-LABlab(54.34, -19.98, -5.04)
CIE-LCHlch(54.34, 20.60, 194.17°)
OKLaboklab(59.89% -0.0612 -0.0139)
OKLCHoklch(59.89% 0.063 192.8)
XYZxyz(17.2720, 22.2953, 27.4331)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C8A #8C5052
analogous
#508C6C #508C8A #50708C
triadic
#508C8A #8A508C #8C8A50
tetradic
#508C8A #6C508C #8C5052 #708C50
square
#508C8A #6C508C #8C5052 #708C50
split-complementary
#508C8A #8C5070 #8C6C50
monochromatic
#233E3D #3A6564 #508C8A #6DACAA #94C2C1

Accessibility & contrast

On white

3.85
#508C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#508C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C8A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C8A#FFFFFF#000000##000000
##508C8A1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85878A
Deuteranopia (green-blind)
#7B7F8B
Tritanopia (blue-blind)
#358F8B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #508c8a;
/* rgb */ color: rgb(80, 140, 138);
/* oklch */ color: oklch(59.9% 0.063 192.8);
Tailwind
colors: {
  custom: {
    50: '#85adac',
    500: '#508c8a',
    950: '#000000',
  },
}
SCSS
$custom: #508c8a;
$custom-light: #85adac;
$custom-dark: #000000;
JSON
{
  "hex": "#508c8a",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 138
  },
  "hsl": {
    "h": 178,
    "s": 27.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.06273,
    "h": 192.8
  },
  "luminance": 0.22297
}

Semantic roles & 50–950 ramp

primary
#508C8A
secondary
#AF898A
accent
#6467C4
background
#F8FAFA
surface
#EFF4F4
border
#CACECE
text
#0B1010
muted
#7C7F7F

Preview Lab

Preview with #508C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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