#508AE2#508AE2

#508AE2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.5% C 0.146 H 258.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#508AE2
RGBrgb(80, 138, 226)
HSLhsl(216, 72%, 60%)
HSVhsv(216, 65%, 89%)
CMYKcmyk(64.6%, 38.9%, 0%, 11.4%)
CIE-LABlab(57.44, 8.54, -50.38)
CIE-LCHlch(57.44, 51.09, 279.62°)
OKLaboklab(63.54% -0.0291 -0.1433)
OKLCHoklch(63.54% 0.146 258.5)
XYZxyz(26.1193, 25.3709, 75.4573)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AE2 #E2A850
analogous
#50D3E2 #508AE2 #5F50E2
triadic
#508AE2 #E2508A #8AE250
tetradic
#508AE2 #E250D3 #E2A850 #50E25F
square
#508AE2 #E250D3 #E2A850 #50E25F
split-complementary
#508AE2 #E25F50 #D3E250
monochromatic
#1A4E9E #2368D2 #508AE2 #84ADEB #B9D0F3

Accessibility & contrast

On white

3.46
#508AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#508AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AE2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AE2#FFFFFF#000000##000000
##508AE21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6391E6
Deuteranopia (green-blind)
#4D84E0
Tritanopia (blue-blind)
#009EAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #508ae2;
/* rgb */ color: rgb(80, 138, 226);
/* oklch */ color: oklch(63.5% 0.146 258.5);
Tailwind
colors: {
  custom: {
    50: '#8fabeb',
    500: '#508ae2',
    950: '#000000',
  },
}
SCSS
$custom: #508ae2;
$custom-light: #8fabeb;
$custom-dark: #000000;
JSON
{
  "hex": "#508ae2",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 216.164,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.63544,
    "c": 0.14627,
    "h": 258.5
  },
  "luminance": 0.25373
}

Semantic roles & 50–950 ramp

primary
#508AE2
secondary
#E3CDAB
accent
#A639EE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #508AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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