#517CD7#517CD7

#517CD7 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.147 H 263.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#517CD7
RGBrgb(81, 124, 215)
HSLhsl(221, 63%, 58%)
HSVhsv(221, 62%, 84%)
CMYKcmyk(62.3%, 42.3%, 0%, 15.7%)
CIE-LABlab(53.02, 13.43, -51.22)
CIE-LCHlch(53.02, 52.95, 284.70°)
OKLaboklab(59.95% -0.0165 -0.146)
OKLCHoklch(59.95% 0.147 263.5)
XYZxyz(22.8625, 21.0689, 67.1387)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CD7 #D7AC51
analogous
#51BFD7 #517CD7 #6951D7
triadic
#517CD7 #D7517C #7CD751
tetradic
#517CD7 #D751BF #D7AC51 #51D769
square
#517CD7 #D751BF #D7AC51 #51D769
split-complementary
#517CD7 #D76951 #BFD751
monochromatic
#20438D #2C5BBF #517CD7 #83A1E2 #B5C7EE

Accessibility & contrast

On white

4.03
#517CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#517CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CD7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CD7#FFFFFF#000000##000000
##517CD71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385DB
Deuteranopia (green-blind)
#3E79D5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517cd7;
/* rgb */ color: rgb(81, 124, 215);
/* oklch */ color: oklch(60.0% 0.147 263.5);
Tailwind
colors: {
  custom: {
    50: '#8ea1e4',
    500: '#517cd7',
    950: '#000000',
  },
}
SCSS
$custom: #517cd7;
$custom-light: #8ea1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#517cd7",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 220.746,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5995,
    "c": 0.14692,
    "h": 263.5
  },
  "luminance": 0.21071
}

Semantic roles & 50–950 ramp

primary
#517CD7
secondary
#DDCBA7
accent
#B142E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #517CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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