#508DE7#508DE7

#508DE7 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.5% C 0.150 H 258.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#508DE7
RGBrgb(80, 141, 231)
HSLhsl(216, 76%, 61%)
HSVhsv(216, 65%, 91%)
CMYKcmyk(65.4%, 39%, 0%, 9.4%)
CIE-LABlab(58.53, 8.46, -51.42)
CIE-LCHlch(58.53, 52.11, 279.34°)
OKLaboklab(64.48% -0.0309 -0.1464)
OKLCHoklch(64.48% 0.15 258.1)
XYZxyz(27.2518, 26.5221, 79.2689)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508DE7 #E7AA50
analogous
#50D8E7 #508DE7 #5E50E7
triadic
#508DE7 #E7508D #8DE750
tetradic
#508DE7 #E750D8 #E7AA50 #50E75E
square
#508DE7 #E750D8 #E7AA50 #50E75E
split-complementary
#508DE7 #E75E50 #D8E750
monochromatic
#1751A6 #1E6BDC #508DE7 #86B0EE #BCD3F6

Accessibility & contrast

On white

3.33
#508DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#508DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508DE7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508DE7#FFFFFF#000000##000000
##508DE71.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6594EB
Deuteranopia (green-blind)
#4E86E5
Tritanopia (blue-blind)
#00A2AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #508de7;
/* rgb */ color: rgb(80, 141, 231);
/* oklch */ color: oklch(64.5% 0.150 258.1);
Tailwind
colors: {
  custom: {
    50: '#8fadef',
    500: '#508de7',
    950: '#000000',
  },
}
SCSS
$custom: #508de7;
$custom-light: #8fadef;
$custom-dark: #000000;
JSON
{
  "hex": "#508de7",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 231
  },
  "hsl": {
    "h": 215.762,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6448,
    "c": 0.1496,
    "h": 258.1
  },
  "luminance": 0.26525
}

Semantic roles & 50–950 ramp

primary
#508DE7
secondary
#E6CFAD
accent
#860DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #508DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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