#508FEF#508FEF

#508FEF is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.4% C 0.158 H 258.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#508FEF
RGBrgb(80, 143, 239)
HSLhsl(216, 83%, 63%)
HSVhsv(216, 67%, 94%)
CMYKcmyk(66.5%, 40.2%, 0%, 6.3%)
CIE-LABlab(59.51, 10.00, -54.30)
CIE-LCHlch(59.51, 55.21, 280.44°)
OKLaboklab(65.38% -0.0311 -0.1548)
OKLCHoklch(65.38% 0.158 258.6)
XYZxyz(28.7051, 27.5795, 85.4552)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508FEF #EFB050
analogous
#50DFEF #508FEF #6050EF
triadic
#508FEF #EF508F #8FEF50
tetradic
#508FEF #EF50DF #EFB050 #50EF60
square
#508FEF #EF50DF #EFB050 #50EF60
split-complementary
#508FEF #EF6050 #DFEF50
monochromatic
#1051B4 #186BEA #508FEF #88B3F4 #C0D7F9

Accessibility & contrast

On white

3.22
#508FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#508FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508FEF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508FEF#FFFFFF#000000##000000
##508FEF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#4A88ED
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #508fef;
/* rgb */ color: rgb(80, 143, 239);
/* oklch */ color: oklch(65.4% 0.158 258.6);
Tailwind
colors: {
  custom: {
    50: '#91aff5',
    500: '#508fef',
    950: '#000000',
  },
}
SCSS
$custom: #508fef;
$custom-light: #91aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#508fef",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 216.226,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65378,
    "c": 0.15788,
    "h": 258.6
  },
  "luminance": 0.27582
}

Semantic roles & 50–950 ramp

primary
#508FEF
secondary
#EAD3B0
accent
#8906E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #508FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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