#507AE1#507AE1

#507AE1 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.1% C 0.163 H 265.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#507AE1
RGBrgb(80, 122, 225)
HSLhsl(223, 71%, 60%)
HSVhsv(223, 64%, 88%)
CMYKcmyk(64.4%, 45.8%, 0%, 11.8%)
CIE-LABlab(53.01, 17.91, -56.87)
CIE-LCHlch(53.01, 59.63, 287.48°)
OKLaboklab(60.12% -0.0138 -0.1626)
OKLCHoklch(60.12% 0.163 265.2)
XYZxyz(23.8537, 21.0586, 74.0272)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AE1 #E1B750
analogous
#50C2E1 #507AE1 #6F50E1
triadic
#507AE1 #E1507A #7AE150
tetradic
#507AE1 #E150C2 #E1B750 #50E16F
square
#507AE1 #E150C2 #E1B750 #50E16F
split-complementary
#507AE1 #E16F50 #C2E150
monochromatic
#1B409C #2456D0 #507AE1 #84A2EA #B8C9F3

Accessibility & contrast

On white

4.03
#507AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#507AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AE1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AE1#FFFFFF#000000##000000
##507AE11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4786E5
Deuteranopia (green-blind)
#2C78DF
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507ae1;
/* rgb */ color: rgb(80, 122, 225);
/* oklch */ color: oklch(60.1% 0.163 265.2);
Tailwind
colors: {
  custom: {
    50: '#8f9feb',
    500: '#507ae1',
    950: '#000000',
  },
}
SCSS
$custom: #507ae1;
$custom-light: #8f9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#507ae1",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 222.621,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60116,
    "c": 0.16322,
    "h": 265.2
  },
  "luminance": 0.21061
}

Semantic roles & 50–950 ramp

primary
#507AE1
secondary
#E2D2AA
accent
#BA3AED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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