#517FD0#517FD0

#517FD0 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.134 H 261.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#517FD0
RGBrgb(81, 127, 208)
HSLhsl(218, 57%, 57%)
HSVhsv(218, 61%, 82%)
CMYKcmyk(61.1%, 38.9%, 0%, 18.4%)
CIE-LABlab(53.47, 9.23, -46.55)
CIE-LCHlch(53.47, 47.46, 281.22°)
OKLaboklab(60.17% -0.021 -0.1323)
OKLCHoklch(60.17% 0.134 261)
XYZxyz(22.3639, 21.4801, 62.6298)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FD0 #D0A251
analogous
#51BED0 #517FD0 #6351D0
triadic
#517FD0 #D0517F #7FD051
tetradic
#517FD0 #D051BE #D0A251 #51D063
square
#517FD0 #D051BE #D0A251 #51D063
split-complementary
#517FD0 #D06351 #BED051
monochromatic
#234683 #3060B3 #517FD0 #81A2DD #B1C6EA

Accessibility & contrast

On white

3.96
#517FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#517FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FD0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FD0#FFFFFF#000000##000000
##517FD01.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D3
Deuteranopia (green-blind)
#4A7ACE
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517fd0;
/* rgb */ color: rgb(81, 127, 208);
/* oklch */ color: oklch(60.2% 0.134 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ca3df',
    500: '#517fd0',
    950: '#000000',
  },
}
SCSS
$custom: #517fd0;
$custom-light: #8ca3df;
$custom-dark: #000000;
JSON
{
  "hex": "#517fd0",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 208
  },
  "hsl": {
    "h": 218.268,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60171,
    "c": 0.13392,
    "h": 261
  },
  "luminance": 0.21482
}

Semantic roles & 50–950 ramp

primary
#517FD0
secondary
#D8C6A4
accent
#A947E1
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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