#508DE4#508DE4

#508DE4 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.3% C 0.146 H 257.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#508DE4
RGBrgb(80, 141, 228)
HSLhsl(215, 73%, 60%)
HSVhsv(215, 65%, 89%)
CMYKcmyk(64.9%, 38.2%, 0%, 10.6%)
CIE-LABlab(58.37, 7.43, -50.00)
CIE-LCHlch(58.37, 50.55, 278.45°)
OKLaboklab(64.31% -0.0316 -0.1422)
OKLCHoklch(64.31% 0.146 257.5)
XYZxyz(26.8317, 26.3540, 77.0565)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508DE4 #E4A750
analogous
#50D7E4 #508DE4 #5D50E4
triadic
#508DE4 #E4508D #8DE450
tetradic
#508DE4 #E450D7 #E4A750 #50E45D
square
#508DE4 #E450D7 #E4A750 #50E45D
split-complementary
#508DE4 #E45D50 #D7E450
monochromatic
#1951A1 #216CD6 #508DE4 #85B0EC #BAD2F4

Accessibility & contrast

On white

3.35
#508DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#508DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508DE4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508DE4#FFFFFF#000000##000000
##508DE41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E8
Deuteranopia (green-blind)
#5186E2
Tritanopia (blue-blind)
#00A1AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #508de4;
/* rgb */ color: rgb(80, 141, 228);
/* oklch */ color: oklch(64.3% 0.146 257.5);
Tailwind
colors: {
  custom: {
    50: '#8faded',
    500: '#508de4',
    950: '#000000',
  },
}
SCSS
$custom: #508de4;
$custom-light: #8faded;
$custom-dark: #000000;
JSON
{
  "hex": "#508de4",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 228
  },
  "hsl": {
    "h": 215.27,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64306,
    "c": 0.14568,
    "h": 257.5
  },
  "luminance": 0.26357
}

Semantic roles & 50–950 ramp

primary
#508DE4
secondary
#E4CDAC
accent
#8410D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #508DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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