#507ED5#507ED5

#507ED5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.2% C 0.142 H 262.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#507ED5
RGBrgb(80, 126, 213)
HSLhsl(219, 61%, 57%)
HSVhsv(219, 62%, 84%)
CMYKcmyk(62.4%, 40.8%, 0%, 16.5%)
CIE-LABlab(53.42, 11.35, -49.47)
CIE-LCHlch(53.42, 50.76, 282.92°)
OKLaboklab(60.2% -0.0198 -0.1408)
OKLCHoklch(60.2% 0.142 262)
XYZxyz(22.7752, 21.4292, 65.8739)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507ED5 #D5A750
analogous
#50C1D5 #507ED5 #6550D5
triadic
#507ED5 #D5507E #7ED550
tetradic
#507ED5 #D550C1 #D5A750 #50D565
square
#507ED5 #D550C1 #D5A750 #50D565
split-complementary
#507ED5 #D56550 #C1D550
monochromatic
#21458A #2D5EBB #507ED5 #81A2E1 #B3C7ED

Accessibility & contrast

On white

3.97
#507ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#507ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507ED5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507ED5#FFFFFF#000000##000000
##507ED51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#447AD3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507ed5;
/* rgb */ color: rgb(80, 126, 213);
/* oklch */ color: oklch(60.2% 0.142 262.0);
Tailwind
colors: {
  custom: {
    50: '#8da2e2',
    500: '#507ed5',
    950: '#000000',
  },
}
SCSS
$custom: #507ed5;
$custom-light: #8da2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#507ed5",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 219.248,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.14224,
    "h": 262
  },
  "luminance": 0.21431
}

Semantic roles & 50–950 ramp

primary
#507ED5
secondary
#DBC9A6
accent
#AD43E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #507ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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