#517DD7#517DD7

#517DD7 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.146 H 263.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#517DD7
RGBrgb(81, 125, 215)
HSLhsl(220, 63%, 58%)
HSVhsv(220, 62%, 84%)
CMYKcmyk(62.3%, 41.9%, 0%, 15.7%)
CIE-LABlab(53.30, 12.82, -50.78)
CIE-LCHlch(53.30, 52.38, 284.17°)
OKLaboklab(60.16% -0.0175 -0.1447)
OKLCHoklch(60.16% 0.146 263.1)
XYZxyz(22.9884, 21.3208, 67.1807)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DD7 #D7AB51
analogous
#51C0D7 #517DD7 #6851D7
triadic
#517DD7 #D7517D #7DD751
tetradic
#517DD7 #D751C0 #D7AB51 #51D768
square
#517DD7 #D751C0 #D7AB51 #51D768
split-complementary
#517DD7 #D76851 #C0D751
monochromatic
#20448D #2C5CBF #517DD7 #83A2E2 #B5C7EE

Accessibility & contrast

On white

3.99
#517DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#517DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DD7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DD7#FFFFFF#000000##000000
##517DD71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DA
Deuteranopia (green-blind)
#407AD5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517dd7;
/* rgb */ color: rgb(81, 125, 215);
/* oklch */ color: oklch(60.2% 0.146 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ea2e4',
    500: '#517dd7',
    950: '#000000',
  },
}
SCSS
$custom: #517dd7;
$custom-light: #8ea2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#517dd7",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 220.299,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60161,
    "c": 0.14575,
    "h": 263.1
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#517DD7
secondary
#DDCBA7
accent
#B042E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F15
muted
#7E7E84

Preview Lab

Preview with #517DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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