#507AE2#507AE2

#507AE2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.165 H 265.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#507AE2
RGBrgb(80, 122, 226)
HSLhsl(223, 72%, 60%)
HSVhsv(223, 65%, 89%)
CMYKcmyk(64.6%, 46%, 0%, 11.4%)
CIE-LABlab(53.07, 18.26, -57.34)
CIE-LCHlch(53.07, 60.18, 287.66°)
OKLaboklab(60.18% -0.0136 -0.164)
OKLCHoklch(60.18% 0.165 265.3)
XYZxyz(23.9905, 21.1133, 74.7477)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AE2 #E2B850
analogous
#50C3E2 #507AE2 #6F50E2
triadic
#507AE2 #E2507A #7AE250
tetradic
#507AE2 #E250C3 #E2B850 #50E26F
square
#507AE2 #E250C3 #E2B850 #50E26F
split-complementary
#507AE2 #E26F50 #C3E250
monochromatic
#1A409E #2355D2 #507AE2 #84A2EB #B9CAF3

Accessibility & contrast

On white

4.02
#507AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#507AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AE2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AE2#FFFFFF#000000##000000
##507AE21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#2A78E0
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507ae2;
/* rgb */ color: rgb(80, 122, 226);
/* oklch */ color: oklch(60.2% 0.165 265.3);
Tailwind
colors: {
  custom: {
    50: '#8f9fec',
    500: '#507ae2',
    950: '#000000',
  },
}
SCSS
$custom: #507ae2;
$custom-light: #8f9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#507ae2",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 222.74,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.16457,
    "h": 265.3
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#507AE2
secondary
#E3D3AB
accent
#BA39EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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