#508778#508778

#508778 is a mid, moderate teal. Relative luminance 0.204; OKLCH L 58.1% C 0.063 H 174.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#508778
RGBrgb(80, 135, 120)
HSLhsl(164, 26%, 42%)
HSVhsv(164, 41%, 53%)
CMYKcmyk(40.7%, 0%, 11.1%, 47.1%)
CIE-LABlab(52.27, -21.93, 2.36)
CIE-LCHlch(52.27, 22.06, 173.86°)
OKLaboklab(58.06% -0.063 0.0059)
OKLCHoklch(58.06% 0.063 174.6)
XYZxyz(15.3611, 20.3884, 20.8916)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508778 #87505F
analogous
#50875D #508778 #507B87
triadic
#508778 #785087 #877850
tetradic
#508778 #5D5087 #87505F #7B8750
square
#508778 #5D5087 #87505F #7B8750
split-complementary
#508778 #87507B #875D50
monochromatic
#223A34 #396156 #508778 #6CA898 #93BFB3

Accessibility & contrast

On white

4.14
#508778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#508778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508778
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508778#FFFFFF#000000##000000
##5087781.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#838177
Deuteranopia (green-blind)
#7A7A79
Tritanopia (blue-blind)
#3E8882
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508778;
/* rgb */ color: rgb(80, 135, 120);
/* oklch */ color: oklch(58.1% 0.063 174.6);
Tailwind
colors: {
  custom: {
    50: '#84aa9e',
    500: '#508778',
    950: '#000000',
  },
}
SCSS
$custom: #508778;
$custom-light: #84aa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#508778",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 120
  },
  "hsl": {
    "h": 163.636,
    "s": 25.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.06331,
    "h": 174.6
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#508778
secondary
#AC8791
accent
#667FC2
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100E
muted
#7C7F7E

Preview Lab

Preview with #508778

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

Preview Lab → · Contrast checker → · Palette generator →

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