#517DCF#517DCF

#517DCF is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.7% C 0.135 H 261.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#517DCF
RGBrgb(81, 125, 207)
HSLhsl(219, 57%, 56%)
HSVhsv(219, 61%, 81%)
CMYKcmyk(60.9%, 39.6%, 0%, 18.8%)
CIE-LABlab(52.86, 10.11, -46.95)
CIE-LCHlch(52.86, 48.03, 282.15°)
OKLaboklab(59.68% -0.0192 -0.1335)
OKLCHoklch(59.68% 0.135 261.8)
XYZxyz(21.9855, 20.9196, 61.8987)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DCF #CFA351
analogous
#51BCCF #517DCF #6451CF
triadic
#517DCF #CF517D #7DCF51
tetradic
#517DCF #CF51BC #CFA351 #51CF64
square
#517DCF #CF51BC #CFA351 #51CF64
split-complementary
#517DCF #CF6451 #BCCF51
monochromatic
#244582 #315EB2 #517DCF #81A1DC #B1C5E9

Accessibility & contrast

On white

4.05
#517DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#517DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DCF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DCF#FFFFFF#000000##000000
##517DCF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4879CD
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517dcf;
/* rgb */ color: rgb(81, 125, 207);
/* oklch */ color: oklch(59.7% 0.135 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ca2de',
    500: '#517dcf',
    950: '#000000',
  },
}
SCSS
$custom: #517dcf;
$custom-light: #8ca2de;
$custom-dark: #000000;
JSON
{
  "hex": "#517dcf",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 219.048,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.13483,
    "h": 261.8
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#517DCF
secondary
#D8C6A4
accent
#AB48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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