#517FCD#517FCD

#517FCD is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.130 H 260.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#517FCD
RGBrgb(81, 127, 205)
HSLhsl(218, 55%, 56%)
HSVhsv(218, 60%, 80%)
CMYKcmyk(60.5%, 38%, 0%, 19.6%)
CIE-LABlab(53.31, 8.22, -45.10)
CIE-LCHlch(53.31, 45.85, 280.33°)
OKLaboklab(60% -0.0217 -0.128)
OKLCHoklch(60% 0.13 260.4)
XYZxyz(21.9983, 21.3339, 60.7043)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FCD #CD9F51
analogous
#51BDCD #517FCD #6151CD
triadic
#517FCD #CD517F #7FCD51
tetradic
#517FCD #CD51BD #CD9F51 #51CD61
square
#517FCD #CD51BD #CD9F51 #51CD61
split-complementary
#517FCD #CD6151 #BDCD51
monochromatic
#25467F #3260AF #517FCD #81A2DB #B0C5E8

Accessibility & contrast

On white

3.99
#517FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#517FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FCD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FCD#FFFFFF#000000##000000
##517FCD1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517fcd;
/* rgb */ color: rgb(81, 127, 205);
/* oklch */ color: oklch(60.0% 0.130 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ca3dc',
    500: '#517fcd',
    950: '#000000',
  },
}
SCSS
$custom: #517fcd;
$custom-light: #8ca3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#517fcd",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 217.742,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59997,
    "c": 0.12985,
    "h": 260.4
  },
  "luminance": 0.21336
}

Semantic roles & 50–950 ramp

primary
#517FCD
secondary
#D7C4A3
accent
#A749DF
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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