#508DF5#508DF5

#508DF5 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.3% C 0.168 H 260.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#508DF5
RGBrgb(80, 141, 245)
HSLhsl(218, 89%, 64%)
HSVhsv(218, 67%, 96%)
CMYKcmyk(67.3%, 42.4%, 0%, 3.9%)
CIE-LABlab(59.29, 13.26, -57.95)
CIE-LCHlch(59.29, 59.45, 282.89°)
OKLaboklab(65.32% -0.0281 -0.1655)
OKLCHoklch(65.32% 0.168 260.4)
XYZxyz(29.3087, 27.3448, 90.1020)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508DF5 #F5B850
analogous
#50DFF5 #508DF5 #6550F5
triadic
#508DF5 #F5508D #8DF550
tetradic
#508DF5 #F550DF #F5B850 #50F565
square
#508DF5 #F550DF #F5B850 #50F565
split-complementary
#508DF5 #F56550 #DFF550
monochromatic
#0B4EC0 #1667F2 #508DF5 #8AB3F8 #C4D8FC

Accessibility & contrast

On white

3.25
#508DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#508DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508DF5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508DF5#FFFFFF#000000##000000
##508DF51.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97F9
Deuteranopia (green-blind)
#4088F3
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #508df5;
/* rgb */ color: rgb(80, 141, 245);
/* oklch */ color: oklch(65.3% 0.168 260.4);
Tailwind
colors: {
  custom: {
    50: '#92adf9',
    500: '#508df5',
    950: '#000000',
  },
}
SCSS
$custom: #508df5;
$custom-light: #92adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#508df5",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 217.818,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65319,
    "c": 0.16791,
    "h": 260.4
  },
  "luminance": 0.27348
}

Semantic roles & 50–950 ramp

primary
#508DF5
secondary
#EDD8B3
accent
#9100E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #508DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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