#508BE5#508BE5

#508BE5 is a light, vivid blue. Relative luminance 0.258; OKLCH L 63.9% C 0.149 H 258.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#508BE5
RGBrgb(80, 139, 229)
HSLhsl(216, 74%, 61%)
HSVhsv(216, 65%, 90%)
CMYKcmyk(65.1%, 39.3%, 0%, 10.2%)
CIE-LABlab(57.87, 8.97, -51.35)
CIE-LCHlch(57.87, 52.13, 279.90°)
OKLaboklab(63.93% -0.0294 -0.1462)
OKLCHoklch(63.93% 0.149 258.6)
XYZxyz(26.6787, 25.8252, 77.6923)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BE5 #E5AA50
analogous
#50D5E5 #508BE5 #6050E5
triadic
#508BE5 #E5508B #8BE550
tetradic
#508BE5 #E550D5 #E5AA50 #50E560
square
#508BE5 #E550D5 #E5AA50 #50E560
split-complementary
#508BE5 #E56050 #D5E550
monochromatic
#184FA2 #2069D8 #508BE5 #85AEED #BBD2F5

Accessibility & contrast

On white

3.41
#508BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##508BE5#FFFFFF#000000##000000
##508BE51.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6393E9
Deuteranopia (green-blind)
#4C85E3
Tritanopia (blue-blind)
#00A0AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #508be5;
/* rgb */ color: rgb(80, 139, 229);
/* oklch */ color: oklch(63.9% 0.149 258.6);
Tailwind
colors: {
  custom: {
    50: '#8facee',
    500: '#508be5',
    950: '#000000',
  },
}
SCSS
$custom: #508be5;
$custom-light: #8facee;
$custom-dark: #000000;
JSON
{
  "hex": "#508be5",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 216.242,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63934,
    "c": 0.14913,
    "h": 258.6
  },
  "luminance": 0.25828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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