#508CE2#508CE2

#508CE2 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.0% C 0.144 H 257.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#508CE2
RGBrgb(80, 140, 226)
HSLhsl(215, 72%, 60%)
HSVhsv(215, 65%, 89%)
CMYKcmyk(64.6%, 38.1%, 0%, 11.4%)
CIE-LABlab(57.99, 7.35, -49.50)
CIE-LCHlch(57.99, 50.04, 278.44°)
OKLaboklab(63.98% -0.0311 -0.1407)
OKLCHoklch(63.98% 0.144 257.6)
XYZxyz(26.4089, 25.9501, 75.5539)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508CE2 #E2A650
analogous
#50D5E2 #508CE2 #5D50E2
triadic
#508CE2 #E2508C #8CE250
tetradic
#508CE2 #E250D5 #E2A650 #50E25D
square
#508CE2 #E250D5 #E2A650 #50E25D
split-complementary
#508CE2 #E25D50 #D5E250
monochromatic
#1A509E #236BD2 #508CE2 #84AFEB #B9D1F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508CE2#FFFFFF#000000##000000
##508CE21.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)
#6693E5
Deuteranopia (green-blind)
#5185E0
Tritanopia (blue-blind)
#00A0AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #508ce2;
/* rgb */ color: rgb(80, 140, 226);
/* oklch */ color: oklch(64.0% 0.144 257.6);
Tailwind
colors: {
  custom: {
    50: '#8fadeb',
    500: '#508ce2',
    950: '#000000',
  },
}
SCSS
$custom: #508ce2;
$custom-light: #8fadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#508ce2",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 215.342,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.14413,
    "h": 257.6
  },
  "luminance": 0.25953
}

Semantic roles & 50–950 ramp

primary
#508CE2
secondary
#E3CCAB
accent
#A439EE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #508CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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