#507ED2#507ED2

#507ED2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.138 H 261.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#507ED2
RGBrgb(80, 126, 210)
HSLhsl(219, 59%, 57%)
HSVhsv(219, 62%, 82%)
CMYKcmyk(61.9%, 40%, 0%, 17.6%)
CIE-LABlab(53.25, 10.33, -48.03)
CIE-LCHlch(53.25, 49.13, 282.14°)
OKLaboklab(60.02% -0.0204 -0.1366)
OKLCHoklch(60.02% 0.138 261.5)
XYZxyz(22.3979, 21.2783, 63.8870)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507ED2 #D2A450
analogous
#50BFD2 #507ED2 #6350D2
triadic
#507ED2 #D2507E #7ED250
tetradic
#507ED2 #D250BF #D2A450 #50D263
square
#507ED2 #D250BF #D2A450 #50D263
split-complementary
#507ED2 #D26350 #BFD250
monochromatic
#224585 #2F5FB6 #507ED2 #81A2DF #B1C6EB

Accessibility & contrast

On white

4.00
#507ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#507ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507ED2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507ED2#FFFFFF#000000##000000
##507ED21.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D5
Deuteranopia (green-blind)
#467AD0
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507ed2;
/* rgb */ color: rgb(80, 126, 210);
/* oklch */ color: oklch(60.0% 0.138 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ca2e0',
    500: '#507ed2',
    950: '#000000',
  },
}
SCSS
$custom: #507ed2;
$custom-light: #8ca2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#507ed2",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 218.769,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.13815,
    "h": 261.5
  },
  "luminance": 0.2128
}

Semantic roles & 50–950 ramp

primary
#507ED2
secondary
#D9C7A4
accent
#AB46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #507ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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