#517CCD#517CCD

#517CCD is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.3% C 0.133 H 262.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#517CCD
RGBrgb(81, 124, 205)
HSLhsl(219, 55%, 56%)
HSVhsv(219, 60%, 80%)
CMYKcmyk(60.5%, 39.5%, 0%, 19.6%)
CIE-LABlab(52.48, 10.05, -46.43)
CIE-LCHlch(52.48, 47.50, 282.21°)
OKLaboklab(59.35% -0.0185 -0.1319)
OKLCHoklch(59.35% 0.133 262)
XYZxyz(21.6166, 20.5705, 60.5771)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CCD #CDA251
analogous
#51BACD #517CCD #6451CD
triadic
#517CCD #CD517C #7CCD51
tetradic
#517CCD #CD51BA #CDA251 #51CD64
square
#517CCD #CD51BA #CDA251 #51CD64
split-complementary
#517CCD #CD6451 #BACD51
monochromatic
#25447F #325DAF #517CCD #81A0DB #B0C4E8

Accessibility & contrast

On white

4.11
#517CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#517CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CCD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CCD#FFFFFF#000000##000000
##517CCD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517ccd;
/* rgb */ color: rgb(81, 124, 205);
/* oklch */ color: oklch(59.3% 0.133 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ca1dd',
    500: '#517ccd',
    950: '#000000',
  },
}
SCSS
$custom: #517ccd;
$custom-light: #8ca1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#517ccd",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 219.194,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59348,
    "c": 0.13323,
    "h": 262
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#517CCD
secondary
#D7C5A3
accent
#AB49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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