#508EB5#508EB5

#508EB5 is a light, moderate cyan. Relative luminance 0.244; OKLCH L 62.1% C 0.087 H 238.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#508EB5
RGBrgb(80, 142, 181)
HSLhsl(203, 41%, 51%)
HSVhsv(203, 56%, 71%)
CMYKcmyk(55.8%, 21.5%, 0%, 29%)
CIE-LABlab(56.47, -8.59, -26.51)
CIE-LCHlch(56.47, 27.87, 252.05°)
OKLaboklab(62.1% -0.0463 -0.074)
OKLCHoklch(62.1% 0.087 238)
XYZxyz(21.3187, 24.3858, 47.2906)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508EB5 #B57750
analogous
#50B5A9 #508EB5 #505BB5
triadic
#508EB5 #B5508E #8EB550
tetradic
#508EB5 #A950B5 #B57750 #5BB550
square
#508EB5 #A950B5 #B57750 #5BB550
split-complementary
#508EB5 #B5505B #B5A950
monochromatic
#294C61 #3B6D8C #508EB5 #7BAAC7 #A6C6D9

Accessibility & contrast

On white

3.57
#508EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#508EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508EB5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508EB5#FFFFFF#000000##000000
##508EB51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8DB7
Deuteranopia (green-blind)
#6E83B4
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #508eb5;
/* rgb */ color: rgb(80, 142, 181);
/* oklch */ color: oklch(62.1% 0.087 238.0);
Tailwind
colors: {
  custom: {
    50: '#89afcb',
    500: '#508eb5',
    950: '#000000',
  },
}
SCSS
$custom: #508eb5;
$custom-light: #89afcb;
$custom-dark: #000000;
JSON
{
  "hex": "#508eb5",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 203.168,
    "s": 40.562,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62098,
    "c": 0.0873,
    "h": 238
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#508EB5
secondary
#C7AB9A
accent
#8657D0
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #508EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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