#508BE7#508BE7

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

Color values

HEX#508BE7
RGBrgb(80, 139, 231)
HSLhsl(217, 76%, 61%)
HSVhsv(217, 65%, 91%)
CMYKcmyk(65.4%, 39.8%, 0%, 9.4%)
CIE-LABlab(57.98, 9.65, -52.30)
CIE-LCHlch(57.98, 53.18, 280.45°)
OKLaboklab(64.05% -0.029 -0.149)
OKLCHoklch(64.05% 0.152 259)
XYZxyz(26.9595, 25.9376, 79.1715)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508BE7 #E7AC50
analogous
#50D7E7 #508BE7 #6050E7
triadic
#508BE7 #E7508B #8BE750
tetradic
#508BE7 #E750D7 #E7AC50 #50E760
square
#508BE7 #E750D7 #E7AC50 #50E760
split-complementary
#508BE7 #E76050 #D7E750
monochromatic
#174FA6 #1E68DC #508BE7 #86AFEE #BCD2F6

Accessibility & contrast

On white

3.39
#508BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#508BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508BE7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508BE7#FFFFFF#000000##000000
##508BE71.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EB
Deuteranopia (green-blind)
#4B85E5
Tritanopia (blue-blind)
#00A0AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #508be7;
/* rgb */ color: rgb(80, 139, 231);
/* oklch */ color: oklch(64.1% 0.152 259.0);
Tailwind
colors: {
  custom: {
    50: '#8facef',
    500: '#508be7',
    950: '#000000',
  },
}
SCSS
$custom: #508be7;
$custom-light: #8facef;
$custom-dark: #000000;
JSON
{
  "hex": "#508be7",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 216.556,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64052,
    "c": 0.15176,
    "h": 259
  },
  "luminance": 0.2594
}

Semantic roles & 50–950 ramp

primary
#508BE7
secondary
#E6D0AD
accent
#890DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #508BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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