#517CD3#517CD3

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

Color values

HEX#517CD3
RGBrgb(81, 124, 211)
HSLhsl(220, 60%, 57%)
HSVhsv(220, 62%, 83%)
CMYKcmyk(61.6%, 41.2%, 0%, 17.3%)
CIE-LABlab(52.80, 12.07, -49.31)
CIE-LCHlch(52.80, 50.77, 283.76°)
OKLaboklab(59.71% -0.0173 -0.1404)
OKLCHoklch(59.71% 0.141 263)
XYZxyz(22.3548, 20.8658, 64.4648)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CD3 #D3A851
analogous
#51BDD3 #517CD3 #6751D3
triadic
#517CD3 #D3517C #7CD351
tetradic
#517CD3 #D351BD #D3A851 #51D367
square
#517CD3 #D351BD #D3A851 #51D367
split-complementary
#517CD3 #D36751 #BDD351
monochromatic
#224487 #2F5CB8 #517CD3 #82A1DF #B3C6EC

Accessibility & contrast

On white

4.06
#517CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#517CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CD3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CD3#FFFFFF#000000##000000
##517CD31.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D6
Deuteranopia (green-blind)
#4278D1
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517cd3;
/* rgb */ color: rgb(81, 124, 211);
/* oklch */ color: oklch(59.7% 0.141 263.0);
Tailwind
colors: {
  custom: {
    50: '#8da1e1',
    500: '#517cd3',
    950: '#000000',
  },
}
SCSS
$custom: #517cd3;
$custom-light: #8da1e1;
$custom-dark: #000000;
JSON
{
  "hex": "#517cd3",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 220.154,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.14145,
    "h": 263
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#517CD3
secondary
#DAC9A6
accent
#AF45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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