#508DF1#508DF1

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

Color values

HEX#508DF1
RGBrgb(80, 141, 241)
HSLhsl(217, 85%, 63%)
HSVhsv(217, 67%, 95%)
CMYKcmyk(66.8%, 41.5%, 0%, 5.5%)
CIE-LABlab(59.07, 11.88, -56.10)
CIE-LCHlch(59.07, 57.35, 281.96°)
OKLaboklab(65.08% -0.0289 -0.1601)
OKLCHoklch(65.08% 0.163 259.8)
XYZxyz(28.7046, 27.1032, 86.9207)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508DF1 #F1B450
analogous
#50DDF1 #508DF1 #6350F1
triadic
#508DF1 #F1508D #8DF150
tetradic
#508DF1 #F150DD #F1B450 #50F163
square
#508DF1 #F150DD #F1B450 #50F163
split-complementary
#508DF1 #F16350 #DDF150
monochromatic
#0F4FB8 #1768EC #508DF1 #89B2F6 #C1D7FA

Accessibility & contrast

On white

3.27
#508DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#508DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508DF1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508DF1#FFFFFF#000000##000000
##508DF11.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E96F5
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #508df1;
/* rgb */ color: rgb(80, 141, 241);
/* oklch */ color: oklch(65.1% 0.163 259.8);
Tailwind
colors: {
  custom: {
    50: '#91adf6',
    500: '#508df1',
    950: '#000000',
  },
}
SCSS
$custom: #508df1;
$custom-light: #91adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#508df1",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 217.267,
    "s": 85.185,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65075,
    "c": 0.16268,
    "h": 259.8
  },
  "luminance": 0.27106
}

Semantic roles & 50–950 ramp

primary
#508DF1
secondary
#EBD5B1
accent
#8E04E2
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #508DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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