#507EE2#507EE2

#507EE2 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.0% C 0.160 H 263.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#507EE2
RGBrgb(80, 126, 226)
HSLhsl(221, 72%, 60%)
HSVhsv(221, 65%, 89%)
CMYKcmyk(64.6%, 44.2%, 0%, 11.4%)
CIE-LABlab(54.15, 15.80, -55.61)
CIE-LCHlch(54.15, 57.82, 285.86°)
OKLaboklab(61.01% -0.0174 -0.1589)
OKLCHoklch(61.01% 0.16 263.7)
XYZxyz(24.4918, 22.1159, 74.9148)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EE2 #E2B450
analogous
#50C7E2 #507EE2 #6B50E2
triadic
#507EE2 #E2507E #7EE250
tetradic
#507EE2 #E250C7 #E2B450 #50E26B
square
#507EE2 #E250C7 #E2B450 #50E26B
split-complementary
#507EE2 #E26B50 #C7E250
monochromatic
#1A439E #235AD2 #507EE2 #84A5EB #B9CBF3

Accessibility & contrast

On white

3.87
#507EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#507EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507EE2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507EE2#FFFFFF#000000##000000
##507EE21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507ee2;
/* rgb */ color: rgb(80, 126, 226);
/* oklch */ color: oklch(61.0% 0.160 263.7);
Tailwind
colors: {
  custom: {
    50: '#8fa2ec',
    500: '#507ee2',
    950: '#000000',
  },
}
SCSS
$custom: #507ee2;
$custom-light: #8fa2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#507ee2",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 221.096,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.61006,
    "c": 0.15983,
    "h": 263.7
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#507EE2
secondary
#E3D1AB
accent
#B539EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #507EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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