#508AE7#508AE7

#508AE7 is a light, vivid blue. Relative luminance 0.257; OKLCH L 63.8% C 0.153 H 259.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#508AE7
RGBrgb(80, 138, 231)
HSLhsl(217, 76%, 61%)
HSVhsv(217, 65%, 91%)
CMYKcmyk(65.4%, 40.3%, 0%, 9.4%)
CIE-LABlab(57.70, 10.25, -52.74)
CIE-LCHlch(57.70, 53.72, 281.00°)
OKLaboklab(63.84% -0.028 -0.1503)
OKLCHoklch(63.84% 0.153 259.4)
XYZxyz(26.8154, 25.6493, 79.1234)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AE7 #E7AD50
analogous
#50D5E7 #508AE7 #6150E7
triadic
#508AE7 #E7508A #8AE750
tetradic
#508AE7 #E750D5 #E7AD50 #50E761
square
#508AE7 #E750D5 #E7AD50 #50E761
split-complementary
#508AE7 #E76150 #D5E750
monochromatic
#174EA6 #1E67DC #508AE7 #86AEEE #BCD2F6

Accessibility & contrast

On white

3.43
#508AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#508AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AE7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AE7#FFFFFF#000000##000000
##508AE71.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6092EB
Deuteranopia (green-blind)
#4984E5
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #508ae7;
/* rgb */ color: rgb(80, 138, 231);
/* oklch */ color: oklch(63.8% 0.153 259.4);
Tailwind
colors: {
  custom: {
    50: '#8fabef',
    500: '#508ae7',
    950: '#000000',
  },
}
SCSS
$custom: #508ae7;
$custom-light: #8fabef;
$custom-dark: #000000;
JSON
{
  "hex": "#508ae7",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 231
  },
  "hsl": {
    "h": 216.954,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63839,
    "c": 0.15285,
    "h": 259.4
  },
  "luminance": 0.25652
}

Semantic roles & 50–950 ramp

primary
#508AE7
secondary
#E6D0AD
accent
#8A0DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #508AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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