#517CC0#517CC0

#517CC0 is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.6% C 0.115 H 259.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#517CC0
RGBrgb(81, 124, 192)
HSLhsl(217, 47%, 54%)
HSVhsv(217, 58%, 75%)
CMYKcmyk(57.8%, 35.4%, 0%, 24.7%)
CIE-LABlab(51.80, 5.70, -40.08)
CIE-LCHlch(51.80, 40.49, 278.09°)
OKLaboklab(58.61% -0.0216 -0.1134)
OKLCHoklch(58.61% 0.115 259.2)
XYZxyz(20.1121, 19.9687, 52.6534)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CC0 #C09551
analogous
#51B3C0 #517CC0 #5D51C0
triadic
#517CC0 #C0517C #7CC051
tetradic
#517CC0 #C051B3 #C09551 #51C05D
square
#517CC0 #C051B3 #C09551 #51C05D
split-complementary
#517CC0 #C05D51 #B3C051
monochromatic
#28436F #385F9B #517CC0 #7E9ED0 #ABC0E1

Accessibility & contrast

On white

4.21
#517CC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#517CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CC0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CC0#FFFFFF#000000##000000
##517CC01.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C3
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517cc0;
/* rgb */ color: rgb(81, 124, 192);
/* oklch */ color: oklch(58.6% 0.115 259.2);
Tailwind
colors: {
  custom: {
    50: '#8aa1d3',
    500: '#517cc0',
    950: '#000000',
  },
}
SCSS
$custom: #517cc0;
$custom-light: #8aa1d3;
$custom-dark: #000000;
JSON
{
  "hex": "#517cc0",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 192
  },
  "hsl": {
    "h": 216.757,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.11542,
    "h": 259.2
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#517CC0
secondary
#CEBC9F
accent
#A351D6
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #517CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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