#508CE5#508CE5

#508CE5 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.1% C 0.148 H 258.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#508CE5
RGBrgb(80, 140, 229)
HSLhsl(216, 74%, 61%)
HSVhsv(216, 65%, 90%)
CMYKcmyk(65.1%, 38.9%, 0%, 10.2%)
CIE-LABlab(58.15, 8.37, -50.92)
CIE-LCHlch(58.15, 51.60, 279.33°)
OKLaboklab(64.15% -0.0304 -0.1449)
OKLCHoklch(64.15% 0.148 258.2)
XYZxyz(26.8241, 26.1162, 77.7408)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CE5 #E5A950
analogous
#50D6E5 #508CE5 #5E50E5
triadic
#508CE5 #E5508C #8CE550
tetradic
#508CE5 #E550D6 #E5A950 #50E55E
square
#508CE5 #E550D6 #E5A950 #50E55E
split-complementary
#508CE5 #E55E50 #D6E550
monochromatic
#1850A2 #206AD8 #508CE5 #85AFED #BBD2F5

Accessibility & contrast

On white

3.37
#508CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#508CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CE5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CE5#FFFFFF#000000##000000
##508CE51.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E9
Deuteranopia (green-blind)
#4E85E3
Tritanopia (blue-blind)
#00A0AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #508ce5;
/* rgb */ color: rgb(80, 140, 229);
/* oklch */ color: oklch(64.1% 0.148 258.2);
Tailwind
colors: {
  custom: {
    50: '#8faded',
    500: '#508ce5',
    950: '#000000',
  },
}
SCSS
$custom: #508ce5;
$custom-light: #8faded;
$custom-dark: #000000;
JSON
{
  "hex": "#508ce5",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 229
  },
  "hsl": {
    "h": 215.839,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64149,
    "c": 0.14805,
    "h": 258.2
  },
  "luminance": 0.26119
}

Semantic roles & 50–950 ramp

primary
#508CE5
secondary
#E5CEAC
accent
#860FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #508CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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