#507AEA#507AEA

#507AEA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.7% C 0.175 H 265.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#507AEA
RGBrgb(80, 122, 234)
HSLhsl(224, 79%, 62%)
HSVhsv(224, 66%, 92%)
CMYKcmyk(65.8%, 47.9%, 0%, 8.2%)
CIE-LABlab(53.56, 21.02, -61.04)
CIE-LCHlch(53.56, 64.56, 289.00°)
OKLaboklab(60.71% -0.0125 -0.1749)
OKLCHoklch(60.71% 0.175 265.9)
XYZxyz(25.1139, 21.5627, 80.6645)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AEA #EAC050
analogous
#50C7EA #507AEA #7350EA
triadic
#507AEA #EA507A #7AEA50
tetradic
#507AEA #EA50C7 #EAC050 #50EA73
square
#507AEA #EA50C7 #EAC050 #50EA73
split-complementary
#507AEA #EA7350 #C7EA50
monochromatic
#153EAB #1B51E2 #507AEA #87A4F1 #BDCDF7

Accessibility & contrast

On white

3.95
#507AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#507AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AEA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AEA#FFFFFF#000000##000000
##507AEA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#1879E8
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507aea;
/* rgb */ color: rgb(80, 122, 234);
/* oklch */ color: oklch(60.7% 0.175 265.9);
Tailwind
colors: {
  custom: {
    50: '#909ff1',
    500: '#507aea',
    950: '#000000',
  },
}
SCSS
$custom: #507aea;
$custom-light: #909ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#507aea",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 223.636,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.17534,
    "h": 265.9
  },
  "luminance": 0.21565
}

Semantic roles & 50–950 ramp

primary
#507AEA
secondary
#E8D8AE
accent
#A20BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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