#517ECD#517ECD

#517ECD is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.131 H 260.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#517ECD
RGBrgb(81, 126, 205)
HSLhsl(218, 55%, 56%)
HSVhsv(218, 60%, 80%)
CMYKcmyk(60.5%, 38.5%, 0%, 19.6%)
CIE-LABlab(53.03, 8.83, -45.55)
CIE-LCHlch(53.03, 46.39, 280.97°)
OKLaboklab(59.78% -0.0207 -0.1293)
OKLCHoklch(59.78% 0.131 260.9)
XYZxyz(21.8698, 21.0769, 60.6615)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ECD #CDA051
analogous
#51BCCD #517ECD #6251CD
triadic
#517ECD #CD517E #7ECD51
tetradic
#517ECD #CD51BC #CDA051 #51CD62
square
#517ECD #CD51BC #CDA051 #51CD62
split-complementary
#517ECD #CD6251 #BCCD51
monochromatic
#25457F #325FAF #517ECD #81A1DB #B0C4E8

Accessibility & contrast

On white

4.03
#517ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#517ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ECD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ECD#FFFFFF#000000##000000
##517ECD1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517ecd;
/* rgb */ color: rgb(81, 126, 205);
/* oklch */ color: oklch(59.8% 0.131 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ca3dc',
    500: '#517ecd',
    950: '#000000',
  },
}
SCSS
$custom: #517ecd;
$custom-light: #8ca3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#517ecd",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 218.226,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.13097,
    "h": 260.9
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#517ECD
secondary
#D7C4A3
accent
#A849DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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