#508AEB#508AEB

#508AEB is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.1% C 0.158 H 260.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#508AEB
RGBrgb(80, 138, 235)
HSLhsl(218, 79%, 62%)
HSVhsv(218, 66%, 92%)
CMYKcmyk(66%, 41.3%, 0%, 7.8%)
CIE-LABlab(57.92, 11.62, -54.61)
CIE-LCHlch(57.92, 55.83, 282.01°)
OKLaboklab(64.08% -0.0272 -0.1558)
OKLCHoklch(64.08% 0.158 260.1)
XYZxyz(27.3868, 25.8779, 82.1328)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AEB #EBB150
analogous
#50D8EB #508AEB #6450EB
triadic
#508AEB #EB508A #8AEB50
tetradic
#508AEB #EB50D8 #EBB150 #50EB64
square
#508AEB #EB50D8 #EBB150 #50EB64
split-complementary
#508AEB #EB6450 #D8EB50
monochromatic
#144DAD #1A66E4 #508AEB #87AFF1 #BED3F8

Accessibility & contrast

On white

3.40
#508AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#508AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AEB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AEB#FFFFFF#000000##000000
##508AEB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #508aeb;
/* rgb */ color: rgb(80, 138, 235);
/* oklch */ color: oklch(64.1% 0.158 260.1);
Tailwind
colors: {
  custom: {
    50: '#90abf2',
    500: '#508aeb',
    950: '#000000',
  },
}
SCSS
$custom: #508aeb;
$custom-light: #90abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#508aeb",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 217.548,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64079,
    "c": 0.15813,
    "h": 260.1
  },
  "luminance": 0.25881
}

Semantic roles & 50–950 ramp

primary
#508AEB
secondary
#E8D3AF
accent
#8D0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #508AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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