#508A7C#508A7C

#508A7C is a mid, moderate teal. Relative luminance 0.213; OKLCH L 58.9% C 0.065 H 176.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#508A7C
RGBrgb(80, 138, 124)
HSLhsl(166, 27%, 43%)
HSVhsv(166, 42%, 54%)
CMYKcmyk(42%, 0%, 10.1%, 45.9%)
CIE-LABlab(53.32, -22.51, 1.55)
CIE-LCHlch(53.32, 22.56, 176.05°)
OKLaboklab(58.93% -0.065 0.0038)
OKLCHoklch(58.93% 0.065 176.7)
XYZxyz(16.0334, 21.3365, 22.3384)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A7C #8A505E
analogous
#508A5F #508A7C #507B8A
triadic
#508A7C #7C508A #8A7C50
tetradic
#508A7C #5F508A #8A505E #7B8A50
square
#508A7C #5F508A #8A505E #7B8A50
split-complementary
#508A7C #8A507B #8A5F50
monochromatic
#233D36 #3A6359 #508A7C #6DAA9B #94C1B6

Accessibility & contrast

On white

3.99
#508A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#508A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A7C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A7C#FFFFFF#000000##000000
##508A7C1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847B
Deuteranopia (green-blind)
#7C7C7D
Tritanopia (blue-blind)
#3C8B86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508a7c;
/* rgb */ color: rgb(80, 138, 124);
/* oklch */ color: oklch(58.9% 0.065 176.7);
Tailwind
colors: {
  custom: {
    50: '#84aca1',
    500: '#508a7c',
    950: '#000000',
  },
}
SCSS
$custom: #508a7c;
$custom-light: #84aca1;
$custom-dark: #000000;
JSON
{
  "hex": "#508a7c",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 124
  },
  "hsl": {
    "h": 165.517,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.06514,
    "h": 176.7
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

primary
#508A7C
secondary
#AE8891
accent
#657CC3
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100F
muted
#7C7F7E

Preview Lab

Preview with #508A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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