#517FD8#517FD8

#517FD8 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.6% C 0.145 H 262.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#517FD8
RGBrgb(81, 127, 216)
HSLhsl(220, 63%, 58%)
HSVhsv(220, 63%, 85%)
CMYKcmyk(62.5%, 41.2%, 0%, 15.3%)
CIE-LABlab(53.90, 11.94, -50.38)
CIE-LCHlch(53.90, 51.78, 283.34°)
OKLaboklab(60.65% -0.0194 -0.1435)
OKLCHoklch(60.65% 0.145 262.3)
XYZxyz(23.3730, 21.8838, 67.9447)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FD8 #D8AA51
analogous
#51C2D8 #517FD8 #6751D8
triadic
#517FD8 #D8517F #7FD851
tetradic
#517FD8 #D851C2 #D8AA51 #51D867
square
#517FD8 #D851C2 #D8AA51 #51D867
split-complementary
#517FD8 #D86751 #C2D851
monochromatic
#20468F #2B5EC1 #517FD8 #83A4E3 #B5C9EE

Accessibility & contrast

On white

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

On black

5.38
#517FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FD8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FD8#FFFFFF#000000##000000
##517FD81.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DB
Deuteranopia (green-blind)
#437BD6
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517fd8;
/* rgb */ color: rgb(81, 127, 216);
/* oklch */ color: oklch(60.6% 0.145 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ea3e4',
    500: '#517fd8',
    950: '#000000',
  },
}
SCSS
$custom: #517fd8;
$custom-light: #8ea3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#517fd8",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 219.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.1448,
    "h": 262.3
  },
  "luminance": 0.21886
}

Semantic roles & 50–950 ramp

primary
#517FD8
secondary
#DDCBA8
accent
#AE41E6
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #517FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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