#517DD2#517DD2

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

Color values

HEX#517DD2
RGBrgb(81, 125, 210)
HSLhsl(220, 59%, 57%)
HSVhsv(220, 61%, 82%)
CMYKcmyk(61.4%, 40.5%, 0%, 17.6%)
CIE-LABlab(53.02, 11.13, -48.40)
CIE-LCHlch(53.02, 49.66, 282.95°)
OKLaboklab(59.86% -0.0185 -0.1377)
OKLCHoklch(59.86% 0.139 262.3)
XYZxyz(22.3558, 21.0677, 63.8486)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DD2 #D2A651
analogous
#51BDD2 #517DD2 #6651D2
triadic
#517DD2 #D2517D #7DD251
tetradic
#517DD2 #D251BD #D2A651 #51D266
square
#517DD2 #D251BD #D2A651 #51D266
split-complementary
#517DD2 #D26651 #BDD251
monochromatic
#234586 #2F5DB7 #517DD2 #82A1DF #B2C6EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517DD2#FFFFFF#000000##000000
##517DD21.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)
#5785D5
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517dd2;
/* rgb */ color: rgb(81, 125, 210);
/* oklch */ color: oklch(59.9% 0.139 262.3);
Tailwind
colors: {
  custom: {
    50: '#8da2e0',
    500: '#517dd2',
    950: '#000000',
  },
}
SCSS
$custom: #517dd2;
$custom-light: #8da2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#517dd2",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 219.535,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59859,
    "c": 0.13893,
    "h": 262.3
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#517DD2
secondary
#DAC8A5
accent
#AD46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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