#508798#508798

#508798 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.2% C 0.064 H 219.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#508798
RGBrgb(80, 135, 152)
HSLhsl(194, 31%, 45%)
HSVhsv(194, 47%, 60%)
CMYKcmyk(47.4%, 11.2%, 0%, 40.4%)
CIE-LABlab(53.28, -13.41, -14.74)
CIE-LCHlch(53.28, 19.93, 227.71°)
OKLaboklab(59.19% -0.0489 -0.0407)
OKLCHoklch(59.19% 0.064 219.8)
XYZxyz(17.6376, 21.2991, 32.8814)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508798 #986150
analogous
#509885 #508798 #506398
triadic
#508798 #985087 #879850
tetradic
#508798 #855098 #986150 #639850
square
#508798 #855098 #986150 #639850
split-complementary
#508798 #985063 #988550
monochromatic
#264048 #3B6370 #508798 #71A4B4 #99BEC9

Accessibility & contrast

On white

3.99
#508798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#508798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508798
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508798#FFFFFF#000000##000000
##5087981.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8499
Deuteranopia (green-blind)
#717C98
Tritanopia (blue-blind)
#2D8D8C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508798;
/* rgb */ color: rgb(80, 135, 152);
/* oklch */ color: oklch(59.2% 0.064 219.8);
Tailwind
colors: {
  custom: {
    50: '#86aab6',
    500: '#508798',
    950: '#000000',
  },
}
SCSS
$custom: #508798;
$custom-light: #86aab6;
$custom-dark: #000000;
JSON
{
  "hex": "#508798",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 194.167,
    "s": 31.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.59191,
    "c": 0.06362,
    "h": 219.8
  },
  "luminance": 0.213
}

Semantic roles & 50–950 ramp

primary
#508798
secondary
#B6978E
accent
#7961C7
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0B1011
muted
#7C7F80

Preview Lab

Preview with #508798

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

Preview Lab → · Contrast checker → · Palette generator →

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