#507AE7#507AE7

#507AE7 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.171 H 265.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#507AE7
RGBrgb(80, 122, 231)
HSLhsl(223, 76%, 61%)
HSVhsv(223, 65%, 91%)
CMYKcmyk(65.4%, 47.2%, 0%, 9.4%)
CIE-LABlab(53.38, 19.98, -59.66)
CIE-LCHlch(53.38, 62.91, 288.52°)
OKLaboklab(60.51% -0.0129 -0.1708)
OKLCHoklch(60.51% 0.171 265.7)
XYZxyz(24.6866, 21.3917, 78.4138)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AE7 #E7BD50
analogous
#50C5E7 #507AE7 #7150E7
triadic
#507AE7 #E7507A #7AE750
tetradic
#507AE7 #E750C5 #E7BD50 #50E771
square
#507AE7 #E750C5 #E7BD50 #50E771
split-complementary
#507AE7 #E77150 #C5E750
monochromatic
#173FA6 #1E53DC #507AE7 #86A3EE #BCCCF6

Accessibility & contrast

On white

3.98
#507AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#507AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AE7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AE7#FFFFFF#000000##000000
##507AE71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#2079E5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507ae7;
/* rgb */ color: rgb(80, 122, 231);
/* oklch */ color: oklch(60.5% 0.171 265.7);
Tailwind
colors: {
  custom: {
    50: '#909fef',
    500: '#507ae7',
    950: '#000000',
  },
}
SCSS
$custom: #507ae7;
$custom-light: #909fef;
$custom-dark: #000000;
JSON
{
  "hex": "#507ae7",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 223.311,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60509,
    "c": 0.17132,
    "h": 265.7
  },
  "luminance": 0.21394
}

Semantic roles & 50–950 ramp

primary
#507AE7
secondary
#E6D6AD
accent
#A00DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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