#507AE3#507AE3

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

Color values

HEX#507AE3
RGBrgb(80, 122, 227)
HSLhsl(223, 72%, 60%)
HSVhsv(223, 65%, 89%)
CMYKcmyk(64.8%, 46.3%, 0%, 11%)
CIE-LABlab(53.13, 18.60, -57.80)
CIE-LCHlch(53.13, 60.72, 287.84°)
OKLaboklab(60.25% -0.0135 -0.1654)
OKLCHoklch(60.25% 0.166 265.3)
XYZxyz(24.1281, 21.1683, 75.4725)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507AE3 #E3B950
analogous
#50C4E3 #507AE3 #6F50E3
triadic
#507AE3 #E3507A #7AE350
tetradic
#507AE3 #E350C4 #E3B950 #50E36F
square
#507AE3 #E350C4 #E3B950 #50E36F
split-complementary
#507AE3 #E36F50 #C4E350
monochromatic
#19409F #2255D4 #507AE3 #85A2EB #BACAF4

Accessibility & contrast

On white

4.01
#507AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#507AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507AE3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507AE3#FFFFFF#000000##000000
##507AE31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4586E7
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507ae3;
/* rgb */ color: rgb(80, 122, 227);
/* oklch */ color: oklch(60.2% 0.166 265.3);
Tailwind
colors: {
  custom: {
    50: '#8f9fec',
    500: '#507ae3',
    950: '#000000',
  },
}
SCSS
$custom: #507ae3;
$custom-light: #8f9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#507ae3",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 222.857,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.16593,
    "h": 265.3
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#507AE3
secondary
#E4D3AB
accent
#9D11D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #507AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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