#517ED8#517ED8

#517ED8 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.4% C 0.146 H 262.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#517ED8
RGBrgb(81, 126, 216)
HSLhsl(220, 63%, 58%)
HSVhsv(220, 63%, 85%)
CMYKcmyk(62.5%, 41.7%, 0%, 15.3%)
CIE-LABlab(53.63, 12.55, -50.82)
CIE-LCHlch(53.63, 52.35, 283.88°)
OKLaboklab(60.43% -0.0184 -0.1448)
OKLCHoklch(60.43% 0.146 262.8)
XYZxyz(23.2445, 21.6268, 67.9019)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ED8 #D8AB51
analogous
#51C1D8 #517ED8 #6751D8
triadic
#517ED8 #D8517E #7ED851
tetradic
#517ED8 #D851C1 #D8AB51 #51D867
square
#517ED8 #D851C1 #D8AB51 #51D867
split-complementary
#517ED8 #D86751 #C1D851
monochromatic
#20458F #2B5DC1 #517ED8 #83A3E3 #B5C8EE

Accessibility & contrast

On white

3.94
#517ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#517ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ED8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ED8#FFFFFF#000000##000000
##517ED81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5587DC
Deuteranopia (green-blind)
#417AD6
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517ed8;
/* rgb */ color: rgb(81, 126, 216);
/* oklch */ color: oklch(60.4% 0.146 262.8);
Tailwind
colors: {
  custom: {
    50: '#8ea2e4',
    500: '#517ed8',
    950: '#000000',
  },
}
SCSS
$custom: #517ed8;
$custom-light: #8ea2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#517ed8",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 216
  },
  "hsl": {
    "h": 220,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60434,
    "c": 0.14595,
    "h": 262.8
  },
  "luminance": 0.21629
}

Semantic roles & 50–950 ramp

primary
#517ED8
secondary
#DDCBA8
accent
#AF41E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #517ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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