#517DCE#517DCE

#517DCE is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.6% C 0.133 H 261.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#517DCE
RGBrgb(81, 125, 206)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 61%, 81%)
CMYKcmyk(60.7%, 39.3%, 0%, 19.2%)
CIE-LABlab(52.81, 9.77, -46.47)
CIE-LCHlch(52.81, 47.49, 281.88°)
OKLaboklab(59.62% -0.0194 -0.132)
OKLCHoklch(59.62% 0.133 261.7)
XYZxyz(21.8636, 20.8709, 61.2569)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DCE #CEA251
analogous
#51BCCE #517DCE #6451CE
triadic
#517DCE #CE517D #7DCE51
tetradic
#517DCE #CE51BC #CEA251 #51CE64
square
#517DCE #CE51BC #CEA251 #51CE64
split-complementary
#517DCE #CE6451 #BCCE51
monochromatic
#244580 #325EB0 #517DCE #81A1DB #B1C4E9

Accessibility & contrast

On white

4.06
#517DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#517DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DCE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DCE#FFFFFF#000000##000000
##517DCE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D1
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517dce;
/* rgb */ color: rgb(81, 125, 206);
/* oklch */ color: oklch(59.6% 0.133 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ca2dd',
    500: '#517dce',
    950: '#000000',
  },
}
SCSS
$custom: #517dce;
$custom-light: #8ca2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#517dce",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 218.88,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.13346,
    "h": 261.7
  },
  "luminance": 0.20873
}

Semantic roles & 50–950 ramp

primary
#517DCE
secondary
#D7C5A4
accent
#AA48DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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