#508CF5#508CF5

#508CF5 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.1% C 0.169 H 260.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#508CF5
RGBrgb(80, 140, 245)
HSLhsl(218, 89%, 64%)
HSVhsv(218, 67%, 96%)
CMYKcmyk(67.3%, 42.9%, 0%, 3.9%)
CIE-LABlab(59.02, 13.86, -58.39)
CIE-LCHlch(59.02, 60.01, 283.36°)
OKLaboklab(65.11% -0.0272 -0.1668)
OKLCHoklch(65.11% 0.169 260.7)
XYZxyz(29.1619, 27.0513, 90.0531)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CF5 #F5B950
analogous
#50DEF5 #508CF5 #6650F5
triadic
#508CF5 #F5508C #8CF550
tetradic
#508CF5 #F550DE #F5B950 #50F566
square
#508CF5 #F550DE #F5B950 #50F566
split-complementary
#508CF5 #F56650 #DEF550
monochromatic
#0B4DC0 #1666F2 #508CF5 #8AB2F8 #C4D8FC

Accessibility & contrast

On white

3.28
#508CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#508CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CF5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CF5#FFFFFF#000000##000000
##508CF51.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F9
Deuteranopia (green-blind)
#3D87F3
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #508cf5;
/* rgb */ color: rgb(80, 140, 245);
/* oklch */ color: oklch(65.1% 0.169 260.7);
Tailwind
colors: {
  custom: {
    50: '#92adf9',
    500: '#508cf5',
    950: '#000000',
  },
}
SCSS
$custom: #508cf5;
$custom-light: #92adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#508cf5",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 218.182,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6511,
    "c": 0.16903,
    "h": 260.7
  },
  "luminance": 0.27054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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