#508AE1#508AE1

#508AE1 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.5% C 0.145 H 258.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#508AE1
RGBrgb(80, 138, 225)
HSLhsl(216, 71%, 60%)
HSVhsv(216, 64%, 88%)
CMYKcmyk(64.4%, 38.7%, 0%, 11.8%)
CIE-LABlab(57.38, 8.20, -49.90)
CIE-LCHlch(57.38, 50.57, 279.33°)
OKLaboklab(63.49% -0.0293 -0.142)
OKLCHoklch(63.49% 0.145 258.3)
XYZxyz(25.9825, 25.3162, 74.7368)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AE1 #E1A750
analogous
#50D3E1 #508AE1 #5F50E1
triadic
#508AE1 #E1508A #8AE150
tetradic
#508AE1 #E150D3 #E1A750 #50E15F
square
#508AE1 #E150D3 #E1A750 #50E15F
split-complementary
#508AE1 #E15F50 #D3E150
monochromatic
#1B4E9C #2469D0 #508AE1 #84ADEA #B8D0F3

Accessibility & contrast

On white

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

On black

6.06
#508AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AE1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AE1#FFFFFF#000000##000000
##508AE11.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #508ae1;
/* rgb */ color: rgb(80, 138, 225);
/* oklch */ color: oklch(63.5% 0.145 258.3);
Tailwind
colors: {
  custom: {
    50: '#8fabeb',
    500: '#508ae1',
    950: '#000000',
  },
}
SCSS
$custom: #508ae1;
$custom-light: #8fabeb;
$custom-dark: #000000;
JSON
{
  "hex": "#508ae1",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 225
  },
  "hsl": {
    "h": 216,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63486,
    "c": 0.14495,
    "h": 258.3
  },
  "luminance": 0.25319
}

Semantic roles & 50–950 ramp

primary
#508AE1
secondary
#E2CCAA
accent
#A63AED
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #508AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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