#517ED5#517ED5

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

Color values

HEX#517ED5
RGBrgb(81, 126, 213)
HSLhsl(220, 61%, 58%)
HSVhsv(220, 62%, 84%)
CMYKcmyk(62%, 40.8%, 0%, 16.5%)
CIE-LABlab(53.46, 11.53, -49.39)
CIE-LCHlch(53.46, 50.72, 283.14°)
OKLaboklab(60.25% -0.019 -0.1406)
OKLCHoklch(60.25% 0.142 262.3)
XYZxyz(22.8602, 21.4731, 65.8779)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ED5 #D5A851
analogous
#51C0D5 #517ED5 #6651D5
triadic
#517ED5 #D5517E #7ED551
tetradic
#517ED5 #D551C0 #D5A851 #51D566
square
#517ED5 #D551C0 #D5A851 #51D566
split-complementary
#517ED5 #D56651 #C0D551
monochromatic
#21458A #2D5EBC #517ED5 #82A3E1 #B4C7ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517ED5#FFFFFF#000000##000000
##517ED51.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: #517ed5;
/* rgb */ color: rgb(81, 126, 213);
/* oklch */ color: oklch(60.3% 0.142 262.3);
Tailwind
colors: {
  custom: {
    50: '#8da2e2',
    500: '#517ed5',
    950: '#000000',
  },
}
SCSS
$custom: #517ed5;
$custom-light: #8da2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#517ed5",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 219.545,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60253,
    "c": 0.14187,
    "h": 262.3
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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