#507EE5#507EE5

#507EE5 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.164 H 264.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#507EE5
RGBrgb(80, 126, 229)
HSLhsl(221, 74%, 61%)
HSVhsv(221, 65%, 90%)
CMYKcmyk(65.1%, 45%, 0%, 10.2%)
CIE-LABlab(54.32, 16.84, -57.01)
CIE-LCHlch(54.32, 59.45, 286.45°)
OKLaboklab(61.2% -0.0169 -0.163)
OKLCHoklch(61.2% 0.164 264.1)
XYZxyz(24.9070, 22.2820, 77.1018)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507EE5 #E5B750
analogous
#50C8E5 #507EE5 #6D50E5
triadic
#507EE5 #E5507E #7EE550
tetradic
#507EE5 #E550C8 #E5B750 #50E56D
square
#507EE5 #E550C8 #E5B750 #50E56D
split-complementary
#507EE5 #E56D50 #C8E550
monochromatic
#1843A2 #2059D8 #507EE5 #85A5ED #BBCDF5

Accessibility & contrast

On white

3.85
#507EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#507EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507EE5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507EE5#FFFFFF#000000##000000
##507EE51.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E9
Deuteranopia (green-blind)
#317CE3
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507ee5;
/* rgb */ color: rgb(80, 126, 229);
/* oklch */ color: oklch(61.2% 0.164 264.1);
Tailwind
colors: {
  custom: {
    50: '#8fa2ee',
    500: '#507ee5',
    950: '#000000',
  },
}
SCSS
$custom: #507ee5;
$custom-light: #8fa2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#507ee5",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 221.477,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.16388,
    "h": 264.1
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#507EE5
secondary
#E5D3AC
accent
#990FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #507EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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