#508CE7#508CE7

#508CE7 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.3% C 0.151 H 258.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#508CE7
RGBrgb(80, 140, 231)
HSLhsl(216, 76%, 61%)
HSVhsv(216, 65%, 91%)
CMYKcmyk(65.4%, 39.4%, 0%, 9.4%)
CIE-LABlab(58.25, 9.05, -51.86)
CIE-LCHlch(58.25, 52.64, 279.90°)
OKLaboklab(64.27% -0.03 -0.1477)
OKLCHoklch(64.27% 0.151 258.5)
XYZxyz(27.1050, 26.2285, 79.2200)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CE7 #E7AB50
analogous
#50D7E7 #508CE7 #5F50E7
triadic
#508CE7 #E7508C #8CE750
tetradic
#508CE7 #E750D7 #E7AB50 #50E75F
square
#508CE7 #E750D7 #E7AB50 #50E75F
split-complementary
#508CE7 #E75F50 #D7E750
monochromatic
#1750A6 #1E69DC #508CE7 #86AFEE #BCD3F6

Accessibility & contrast

On white

3.36
#508CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#508CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508CE7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508CE7#FFFFFF#000000##000000
##508CE71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#4C86E5
Tritanopia (blue-blind)
#00A1AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #508ce7;
/* rgb */ color: rgb(80, 140, 231);
/* oklch */ color: oklch(64.3% 0.151 258.5);
Tailwind
colors: {
  custom: {
    50: '#8fadef',
    500: '#508ce7',
    950: '#000000',
  },
}
SCSS
$custom: #508ce7;
$custom-light: #8fadef;
$custom-dark: #000000;
JSON
{
  "hex": "#508ce7",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 216.159,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64266,
    "c": 0.15068,
    "h": 258.5
  },
  "luminance": 0.26231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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