#508ED5#508ED5

#508ED5 is a light, vivid cyan. Relative luminance 0.259; OKLCH L 63.7% C 0.125 H 253.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#508ED5
RGBrgb(80, 142, 213)
HSLhsl(212, 61%, 57%)
HSVhsv(212, 62%, 84%)
CMYKcmyk(62.4%, 33.3%, 0%, 16.5%)
CIE-LABlab(57.90, 1.78, -42.37)
CIE-LCHlch(57.90, 42.41, 272.41°)
OKLaboklab(63.69% -0.0363 -0.1199)
OKLCHoklch(63.69% 0.125 253.1)
XYZxyz(24.9872, 25.8532, 66.6112)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508ED5 #D59750
analogous
#50D0D5 #508ED5 #5550D5
triadic
#508ED5 #D5508E #8ED550
tetradic
#508ED5 #D550D0 #D59750 #50D555
square
#508ED5 #D550D0 #D59750 #50D555
split-complementary
#508ED5 #D55550 #D0D550
monochromatic
#21528A #2D6FBB #508ED5 #81AEE1 #B3CEED

Accessibility & contrast

On white

3.40
#508ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#508ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508ED5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508ED5#FFFFFF#000000##000000
##508ED51.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7092D8
Deuteranopia (green-blind)
#5D85D4
Tritanopia (blue-blind)
#009EA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #508ed5;
/* rgb */ color: rgb(80, 142, 213);
/* oklch */ color: oklch(63.7% 0.125 253.1);
Tailwind
colors: {
  custom: {
    50: '#8daee2',
    500: '#508ed5',
    950: '#000000',
  },
}
SCSS
$custom: #508ed5;
$custom-light: #8daee2;
$custom-dark: #000000;
JSON
{
  "hex": "#508ed5",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 213
  },
  "hsl": {
    "h": 212.03,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6369,
    "c": 0.12529,
    "h": 253.1
  },
  "luminance": 0.25856
}

Semantic roles & 50–950 ramp

primary
#508ED5
secondary
#DBC2A6
accent
#9943E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #508ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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