#517FD2#517FD2

#517FD2 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.3% C 0.137 H 261.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#517FD2
RGBrgb(81, 127, 210)
HSLhsl(219, 59%, 57%)
HSVhsv(219, 61%, 82%)
CMYKcmyk(61.4%, 39.5%, 0%, 17.6%)
CIE-LABlab(53.58, 9.91, -47.52)
CIE-LCHlch(53.58, 48.54, 281.78°)
OKLaboklab(60.29% -0.0206 -0.1351)
OKLCHoklch(60.29% 0.137 261.3)
XYZxyz(22.6115, 21.5792, 63.9339)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FD2 #D2A451
analogous
#51BFD2 #517FD2 #6451D2
triadic
#517FD2 #D2517F #7FD251
tetradic
#517FD2 #D251BF #D2A451 #51D264
square
#517FD2 #D251BF #D2A451 #51D264
split-complementary
#517FD2 #D26451 #BFD251
monochromatic
#234686 #2F5FB7 #517FD2 #82A3DF #B2C7EB

Accessibility & contrast

On white

3.95
#517FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#517FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FD2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FD2#FFFFFF#000000##000000
##517FD21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B86D5
Deuteranopia (green-blind)
#497AD0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517fd2;
/* rgb */ color: rgb(81, 127, 210);
/* oklch */ color: oklch(60.3% 0.137 261.3);
Tailwind
colors: {
  custom: {
    50: '#8da3e0',
    500: '#517fd2',
    950: '#000000',
  },
}
SCSS
$custom: #517fd2;
$custom-light: #8da3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#517fd2",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 218.605,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60288,
    "c": 0.13664,
    "h": 261.3
  },
  "luminance": 0.21581
}

Semantic roles & 50–950 ramp

primary
#517FD2
secondary
#DAC7A5
accent
#AA46E2
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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