#517DCD#517DCD

#517DCD is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.6% C 0.132 H 261.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#517DCD
RGBrgb(81, 125, 205)
HSLhsl(219, 55%, 56%)
HSVhsv(219, 60%, 80%)
CMYKcmyk(60.5%, 39%, 0%, 19.6%)
CIE-LABlab(52.75, 9.44, -45.99)
CIE-LCHlch(52.75, 46.95, 281.60°)
OKLaboklab(59.56% -0.0196 -0.1306)
OKLCHoklch(59.56% 0.132 261.5)
XYZxyz(21.7426, 20.8224, 60.6191)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DCD #CDA151
analogous
#51BBCD #517DCD #6351CD
triadic
#517DCD #CD517D #7DCD51
tetradic
#517DCD #CD51BB #CDA151 #51CD63
square
#517DCD #CD51BB #CDA151 #51CD63
split-complementary
#517DCD #CD6351 #BBCD51
monochromatic
#25457F #325EAF #517DCD #81A1DB #B0C4E8

Accessibility & contrast

On white

4.07
#517DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#517DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DCD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DCD#FFFFFF#000000##000000
##517DCD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517dcd;
/* rgb */ color: rgb(81, 125, 205);
/* oklch */ color: oklch(59.6% 0.132 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ca2dc',
    500: '#517dcd',
    950: '#000000',
  },
}
SCSS
$custom: #517dcd;
$custom-light: #8ca2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#517dcd",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 218.71,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59564,
    "c": 0.13209,
    "h": 261.5
  },
  "luminance": 0.20824
}

Semantic roles & 50–950 ramp

primary
#517DCD
secondary
#D7C4A3
accent
#AA49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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