#517CD6#517CD6

#517CD6 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.146 H 263.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#517CD6
RGBrgb(81, 124, 214)
HSLhsl(221, 62%, 58%)
HSVhsv(221, 62%, 84%)
CMYKcmyk(62.1%, 42.1%, 0%, 16.1%)
CIE-LABlab(52.97, 13.09, -50.75)
CIE-LCHlch(52.97, 52.41, 284.47°)
OKLaboklab(59.89% -0.0167 -0.1446)
OKLCHoklch(59.89% 0.146 263.4)
XYZxyz(22.7344, 21.0176, 66.4640)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CD6 #D6AB51
analogous
#51BED6 #517CD6 #6951D6
triadic
#517CD6 #D6517C #7CD651
tetradic
#517CD6 #D651BE #D6AB51 #51D669
square
#517CD6 #D651BE #D6AB51 #51D669
split-complementary
#517CD6 #D66951 #BED651
monochromatic
#21438C #2D5BBD #517CD6 #83A1E2 #B4C7ED

Accessibility & contrast

On white

4.04
#517CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#517CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CD6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CD6#FFFFFF#000000##000000
##517CD61.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385D9
Deuteranopia (green-blind)
#3F79D4
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517cd6;
/* rgb */ color: rgb(81, 124, 214);
/* oklch */ color: oklch(59.9% 0.146 263.4);
Tailwind
colors: {
  custom: {
    50: '#8da1e3',
    500: '#517cd6',
    950: '#000000',
  },
}
SCSS
$custom: #517cd6;
$custom-light: #8da1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#517cd6",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 220.602,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.14555,
    "h": 263.4
  },
  "luminance": 0.2102
}

Semantic roles & 50–950 ramp

primary
#517CD6
secondary
#DCCBA7
accent
#B143E5
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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