#508AE3#508AE3

#508AE3 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.6% C 0.148 H 258.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#508AE3
RGBrgb(80, 138, 227)
HSLhsl(216, 72%, 60%)
HSVhsv(216, 65%, 89%)
CMYKcmyk(64.8%, 39.2%, 0%, 11%)
CIE-LABlab(57.49, 8.88, -50.85)
CIE-LCHlch(57.49, 51.62, 279.91°)
OKLaboklab(63.6% -0.0289 -0.1447)
OKLCHoklch(63.6% 0.148 258.7)
XYZxyz(26.2569, 25.4259, 76.1821)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AE3 #E3A950
analogous
#50D3E3 #508AE3 #6050E3
triadic
#508AE3 #E3508A #8AE350
tetradic
#508AE3 #E350D3 #E3A950 #50E360
square
#508AE3 #E350D3 #E3A950 #50E360
split-complementary
#508AE3 #E36050 #D3E350
monochromatic
#194E9F #2268D4 #508AE3 #85ADEB #BAD1F4

Accessibility & contrast

On white

3.45
#508AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#508AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AE3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AE3#FFFFFF#000000##000000
##508AE31.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6291E7
Deuteranopia (green-blind)
#4C84E1
Tritanopia (blue-blind)
#009EAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #508ae3;
/* rgb */ color: rgb(80, 138, 227);
/* oklch */ color: oklch(63.6% 0.148 258.7);
Tailwind
colors: {
  custom: {
    50: '#8fabec',
    500: '#508ae3',
    950: '#000000',
  },
}
SCSS
$custom: #508ae3;
$custom-light: #8fabec;
$custom-dark: #000000;
JSON
{
  "hex": "#508ae3",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 227
  },
  "hsl": {
    "h": 216.327,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63603,
    "c": 0.14758,
    "h": 258.7
  },
  "luminance": 0.25428
}

Semantic roles & 50–950 ramp

primary
#508AE3
secondary
#E4CDAB
accent
#8711D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #508AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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