#517FD9#517FD9

#517FD9 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.7% C 0.146 H 262.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#517FD9
RGBrgb(81, 127, 217)
HSLhsl(220, 64%, 58%)
HSVhsv(220, 63%, 85%)
CMYKcmyk(62.7%, 41.5%, 0%, 14.9%)
CIE-LABlab(53.96, 12.29, -50.86)
CIE-LCHlch(53.96, 52.32, 283.58°)
OKLaboklab(60.71% -0.0192 -0.1449)
OKLCHoklch(60.71% 0.146 262.5)
XYZxyz(23.5027, 21.9357, 68.6276)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FD9 #D9AB51
analogous
#51C3D9 #517FD9 #6751D9
triadic
#517FD9 #D9517F #7FD951
tetradic
#517FD9 #D951C3 #D9AB51 #51D967
square
#517FD9 #D951C3 #D9AB51 #51D967
split-complementary
#517FD9 #D96751 #C3D951
monochromatic
#1F4690 #2A5EC2 #517FD9 #83A4E4 #B5C9EF

Accessibility & contrast

On white

3.90
#517FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#517FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FD9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FD9#FFFFFF#000000##000000
##517FD91.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DD
Deuteranopia (green-blind)
#427BD7
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517fd9;
/* rgb */ color: rgb(81, 127, 217);
/* oklch */ color: oklch(60.7% 0.146 262.5);
Tailwind
colors: {
  custom: {
    50: '#8ea3e5',
    500: '#517fd9',
    950: '#000000',
  },
}
SCSS
$custom: #517fd9;
$custom-light: #8ea3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#517fd9",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 219.706,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.14615,
    "h": 262.5
  },
  "luminance": 0.21938
}

Semantic roles & 50–950 ramp

primary
#517FD9
secondary
#DECCA8
accent
#AF41E7
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #517FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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