#508EA8#508EA8

#508EA8 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.5% C 0.075 H 227.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#508EA8
RGBrgb(80, 142, 168)
HSLhsl(198, 35%, 49%)
HSVhsv(198, 52%, 66%)
CMYKcmyk(52.4%, 15.5%, 0%, 34.1%)
CIE-LABlab(55.96, -12.57, -19.86)
CIE-LCHlch(55.96, 23.51, 237.68°)
OKLaboklab(61.53% -0.0511 -0.0551)
OKLCHoklch(61.53% 0.075 227.2)
XYZxyz(20.0465, 23.8769, 40.5905)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508EA8 #A86A50
analogous
#50A896 #508EA8 #5062A8
triadic
#508EA8 #A8508E #8EA850
tetradic
#508EA8 #9650A8 #A86A50 #62A850
square
#508EA8 #9650A8 #A86A50 #62A850
split-complementary
#508EA8 #A85062 #A89650
monochromatic
#294855 #3C6B7F #508EA8 #77A9BE #A0C3D2

Accessibility & contrast

On white

3.64
#508EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#508EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508EA8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508EA8#FFFFFF#000000##000000
##508EA81.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#808CA9
Deuteranopia (green-blind)
#7382A8
Tritanopia (blue-blind)
#199696
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #508ea8;
/* rgb */ color: rgb(80, 142, 168);
/* oklch */ color: oklch(61.5% 0.075 227.2);
Tailwind
colors: {
  custom: {
    50: '#87afc2',
    500: '#508ea8',
    950: '#000000',
  },
}
SCSS
$custom: #508ea8;
$custom-light: #87afc2;
$custom-dark: #000000;
JSON
{
  "hex": "#508ea8",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 197.727,
    "s": 35.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.61527,
    "c": 0.07514,
    "h": 227.2
  },
  "luminance": 0.23879
}

Semantic roles & 50–950 ramp

primary
#508EA8
secondary
#BFA195
accent
#7D5CCC
background
#F8FAFB
surface
#F0F4F7
border
#CBCED0
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #508EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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