#508BEF#508BEF

#508BEF is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.5% C 0.162 H 260.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#508BEF
RGBrgb(80, 139, 239)
HSLhsl(218, 83%, 63%)
HSVhsv(218, 67%, 94%)
CMYKcmyk(66.5%, 41.8%, 0%, 6.3%)
CIE-LABlab(58.41, 12.40, -56.04)
CIE-LCHlch(58.41, 57.39, 282.47°)
OKLaboklab(64.53% -0.0274 -0.1599)
OKLCHoklch(64.53% 0.162 260.3)
XYZxyz(28.1153, 26.3999, 85.2586)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BEF #EFB450
analogous
#50DAEF #508BEF #6550EF
triadic
#508BEF #EF508B #8BEF50
tetradic
#508BEF #EF50DA #EFB450 #50EF65
square
#508BEF #EF50DA #EFB450 #50EF65
split-complementary
#508BEF #EF6550 #DAEF50
monochromatic
#104DB4 #1866EA #508BEF #88B0F4 #C0D5F9

Accessibility & contrast

On white

3.34
#508BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#508BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508BEF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508BEF#FFFFFF#000000##000000
##508BEF1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#4286ED
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #508bef;
/* rgb */ color: rgb(80, 139, 239);
/* oklch */ color: oklch(64.5% 0.162 260.3);
Tailwind
colors: {
  custom: {
    50: '#91acf5',
    500: '#508bef',
    950: '#000000',
  },
}
SCSS
$custom: #508bef;
$custom-light: #91acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#508bef",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 217.736,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64532,
    "c": 0.16228,
    "h": 260.3
  },
  "luminance": 0.26403
}

Semantic roles & 50–950 ramp

primary
#508BEF
secondary
#EAD5B0
accent
#8F06E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #508BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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