#508EB2#508EB2

#508EB2 is a mid, moderate cyan. Relative luminance 0.243; OKLCH L 62.0% C 0.084 H 235.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#508EB2
RGBrgb(80, 142, 178)
HSLhsl(202, 39%, 51%)
HSVhsv(202, 55%, 70%)
CMYKcmyk(55.1%, 20.2%, 0%, 30.2%)
CIE-LABlab(56.35, -9.52, -24.99)
CIE-LCHlch(56.35, 26.74, 249.14°)
OKLaboklab(61.96% -0.0473 -0.0697)
OKLCHoklch(61.96% 0.084 235.8)
XYZxyz(21.0142, 24.2640, 45.6869)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508EB2 #B27450
analogous
#50B2A5 #508EB2 #505DB2
triadic
#508EB2 #B2508E #8EB250
tetradic
#508EB2 #A550B2 #B27450 #5DB250
square
#508EB2 #A550B2 #B27450 #5DB250
split-complementary
#508EB2 #B2505D #B2A550
monochromatic
#294B5E #3C6D89 #508EB2 #7AA9C5 #A5C5D7

Accessibility & contrast

On white

3.59
#508EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#508EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508EB2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508EB2#FFFFFF#000000##000000
##508EB21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8DB4
Deuteranopia (green-blind)
#7083B1
Tritanopia (blue-blind)
#01979A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #508eb2;
/* rgb */ color: rgb(80, 142, 178);
/* oklch */ color: oklch(62.0% 0.084 235.8);
Tailwind
colors: {
  custom: {
    50: '#88afc9',
    500: '#508eb2',
    950: '#000000',
  },
}
SCSS
$custom: #508eb2;
$custom-light: #88afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#508eb2",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 202.041,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61962,
    "c": 0.08424,
    "h": 235.8
  },
  "luminance": 0.24266
}

Semantic roles & 50–950 ramp

primary
#508EB2
secondary
#C5A999
accent
#8459CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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