#508AEF#508AEF

#508AEF is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.3% C 0.163 H 260.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#508AEF
RGBrgb(80, 138, 239)
HSLhsl(218, 83%, 63%)
HSVhsv(218, 67%, 94%)
CMYKcmyk(66.5%, 42.3%, 0%, 6.3%)
CIE-LABlab(58.14, 13.00, -56.47)
CIE-LCHlch(58.14, 57.95, 282.96°)
OKLaboklab(64.32% -0.0264 -0.1612)
OKLCHoklch(64.32% 0.163 260.7)
XYZxyz(27.9712, 26.1116, 85.2106)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508AEF #EFB550
analogous
#50DAEF #508AEF #6550EF
triadic
#508AEF #EF508A #8AEF50
tetradic
#508AEF #EF50DA #EFB550 #50EF65
square
#508AEF #EF50DA #EFB550 #50EF65
split-complementary
#508AEF #EF6550 #DAEF50
monochromatic
#104CB4 #1865EA #508AEF #88AFF4 #C0D5F9

Accessibility & contrast

On white

3.37
#508AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#508AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508AEF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508AEF#FFFFFF#000000##000000
##508AEF1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#4085ED
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #508aef;
/* rgb */ color: rgb(80, 138, 239);
/* oklch */ color: oklch(64.3% 0.163 260.7);
Tailwind
colors: {
  custom: {
    50: '#91abf5',
    500: '#508aef',
    950: '#000000',
  },
}
SCSS
$custom: #508aef;
$custom-light: #91abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#508aef",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 218.113,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64322,
    "c": 0.1634,
    "h": 260.7
  },
  "luminance": 0.26114
}

Semantic roles & 50–950 ramp

primary
#508AEF
secondary
#EAD5B0
accent
#9006E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #508AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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