#508BF5#508BF5

#508BF5 is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.9% C 0.170 H 261.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#508BF5
RGBrgb(80, 139, 245)
HSLhsl(219, 89%, 64%)
HSVhsv(219, 67%, 96%)
CMYKcmyk(67.3%, 43.3%, 0%, 3.9%)
CIE-LABlab(58.75, 14.46, -58.82)
CIE-LCHlch(58.75, 60.57, 283.82°)
OKLaboklab(64.9% -0.0263 -0.1681)
OKLCHoklch(64.9% 0.17 261.1)
XYZxyz(29.0164, 26.7604, 90.0046)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BF5 #F5BA50
analogous
#50DEF5 #508BF5 #6750F5
triadic
#508BF5 #F5508B #8BF550
tetradic
#508BF5 #F550DE #F5BA50 #50F567
square
#508BF5 #F550DE #F5BA50 #50F567
split-complementary
#508BF5 #F56750 #DEF550
monochromatic
#0B4CC0 #1665F2 #508BF5 #8AB1F8 #C4D8FC

Accessibility & contrast

On white

3.31
#508BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#508BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508BF5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508BF5#FFFFFF#000000##000000
##508BF51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#3B86F3
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #508bf5;
/* rgb */ color: rgb(80, 139, 245);
/* oklch */ color: oklch(64.9% 0.170 261.1);
Tailwind
colors: {
  custom: {
    50: '#92acf9',
    500: '#508bf5',
    950: '#000000',
  },
}
SCSS
$custom: #508bf5;
$custom-light: #92acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#508bf5",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 218.545,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64902,
    "c": 0.17015,
    "h": 261.1
  },
  "luminance": 0.26763
}

Semantic roles & 50–950 ramp

primary
#508BF5
secondary
#EDD9B3
accent
#9300E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #508BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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