#507EEA#507EEA

#507EEA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.171 H 264.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#507EEA
RGBrgb(80, 126, 234)
HSLhsl(222, 79%, 62%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(65.8%, 46.2%, 0%, 8.2%)
CIE-LABlab(54.62, 18.56, -59.33)
CIE-LCHlch(54.62, 62.17, 287.37°)
OKLaboklab(61.52% -0.0162 -0.1698)
OKLCHoklch(61.52% 0.171 264.6)
XYZxyz(25.6152, 22.5652, 80.8315)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EEA #EABC50
analogous
#50CBEA #507EEA #6F50EA
triadic
#507EEA #EA507E #7EEA50
tetradic
#507EEA #EA50CB #EABC50 #50EA6F
square
#507EEA #EA50CB #EABC50 #50EA6F
split-complementary
#507EEA #EA6F50 #CBEA50
monochromatic
#1541AB #1B56E2 #507EEA #87A6F1 #BDCFF7

Accessibility & contrast

On white

3.81
#507EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#507EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507EEA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507EEA#FFFFFF#000000##000000
##507EEA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AEE
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #507eea;
/* rgb */ color: rgb(80, 126, 234);
/* oklch */ color: oklch(61.5% 0.171 264.6);
Tailwind
colors: {
  custom: {
    50: '#90a2f1',
    500: '#507eea',
    950: '#000000',
  },
}
SCSS
$custom: #507eea;
$custom-light: #90a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#507eea",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 222.078,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.17058,
    "h": 264.6
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#507EEA
secondary
#E8D6AE
accent
#9D0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #507EEA

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

Preview Lab → · Contrast checker → · Palette generator →

#507EEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva