#517FD7#517FD7

#517FD7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.6% C 0.143 H 262.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#517FD7
RGBrgb(81, 127, 215)
HSLhsl(219, 63%, 58%)
HSVhsv(219, 62%, 84%)
CMYKcmyk(62.3%, 40.9%, 0%, 15.7%)
CIE-LABlab(53.85, 11.61, -49.91)
CIE-LCHlch(53.85, 51.24, 283.09°)
OKLaboklab(60.59% -0.0196 -0.1421)
OKLCHoklch(60.59% 0.143 262.2)
XYZxyz(23.2442, 21.8323, 67.2659)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FD7 #D7A951
analogous
#51C2D7 #517FD7 #6651D7
triadic
#517FD7 #D7517F #7FD751
tetradic
#517FD7 #D751C2 #D7A951 #51D766
square
#517FD7 #D751C2 #D7A951 #51D766
split-complementary
#517FD7 #D76651 #C2D751
monochromatic
#20468D #2C5EBF #517FD7 #83A4E2 #B5C8EE

Accessibility & contrast

On white

3.91
#517FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#517FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FD7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FD7#FFFFFF#000000##000000
##517FD71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887DA
Deuteranopia (green-blind)
#447BD5
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517fd7;
/* rgb */ color: rgb(81, 127, 215);
/* oklch */ color: oklch(60.6% 0.143 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ea3e4',
    500: '#517fd7',
    950: '#000000',
  },
}
SCSS
$custom: #517fd7;
$custom-light: #8ea3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#517fd7",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 219.403,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.14344,
    "h": 262.2
  },
  "luminance": 0.21834
}

Semantic roles & 50–950 ramp

primary
#517FD7
secondary
#DDCAA7
accent
#AE42E6
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #517FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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