#508EFB#508EFB

#508EFB is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.9% C 0.175 H 260.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#508EFB
RGBrgb(80, 142, 251)
HSLhsl(218, 96%, 65%)
HSVhsv(218, 68%, 98%)
CMYKcmyk(68.1%, 43.4%, 0%, 1.6%)
CIE-LABlab(59.90, 14.73, -60.28)
CIE-LCHlch(59.90, 62.06, 283.73°)
OKLaboklab(65.9% -0.0279 -0.1724)
OKLCHoklch(65.9% 0.175 260.8)
XYZxyz(30.3876, 28.0134, 95.0537)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508EFB #FBBD50
analogous
#50E3FB #508EFB #6850FB
triadic
#508EFB #FB508E #8EFB50
tetradic
#508EFB #FB50E3 #FBBD50 #50FB68
square
#508EFB #FB50E3 #FBBD50 #50FB68
split-complementary
#508EFB #FB6850 #E3FB50
monochromatic
#054DCC #1467FA #508EFB #8CB5FC #C8DBFE

Accessibility & contrast

On white

3.18
#508EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#508EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508EFB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508EFB#FFFFFF#000000##000000
##508EFB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#3A89F9
Tritanopia (blue-blind)
#00A7B8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #508efb;
/* rgb */ color: rgb(80, 142, 251);
/* oklch */ color: oklch(65.9% 0.175 260.8);
Tailwind
colors: {
  custom: {
    50: '#93aefd',
    500: '#508efb',
    950: '#000000',
  },
}
SCSS
$custom: #508efb;
$custom-light: #93aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#508efb",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 218.246,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65898,
    "c": 0.17462,
    "h": 260.8
  },
  "luminance": 0.28017
}

Semantic roles & 50–950 ramp

primary
#508EFB
secondary
#F1DBB6
accent
#9200E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1018
muted
#7E7F86

Preview Lab

Preview with #508EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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