#517ED6#517ED6

#517ED6 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.143 H 262.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#517ED6
RGBrgb(81, 126, 214)
HSLhsl(220, 62%, 58%)
HSVhsv(220, 62%, 84%)
CMYKcmyk(62.1%, 41.1%, 0%, 16.1%)
CIE-LABlab(53.52, 11.87, -49.87)
CIE-LCHlch(53.52, 51.26, 283.39°)
OKLaboklab(60.31% -0.0187 -0.142)
OKLCHoklch(60.31% 0.143 262.5)
XYZxyz(22.9876, 21.5240, 66.5484)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ED6 #D6A951
analogous
#51C1D6 #517ED6 #6651D6
triadic
#517ED6 #D6517E #7ED651
tetradic
#517ED6 #D651C1 #D6A951 #51D666
square
#517ED6 #D651C1 #D6A951 #51D666
split-complementary
#517ED6 #D66651 #C1D651
monochromatic
#21458C #2D5EBD #517ED6 #83A3E2 #B4C7ED

Accessibility & contrast

On white

3.96
#517ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#517ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ED6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ED6#FFFFFF#000000##000000
##517ED61.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D9
Deuteranopia (green-blind)
#437AD4
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517ed6;
/* rgb */ color: rgb(81, 126, 214);
/* oklch */ color: oklch(60.3% 0.143 262.5);
Tailwind
colors: {
  custom: {
    50: '#8da2e3',
    500: '#517ed6',
    950: '#000000',
  },
}
SCSS
$custom: #517ed6;
$custom-light: #8da2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#517ed6",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 214
  },
  "hsl": {
    "h": 219.699,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60313,
    "c": 0.14323,
    "h": 262.5
  },
  "luminance": 0.21526
}

Semantic roles & 50–950 ramp

primary
#517ED6
secondary
#DCCAA7
accent
#AE43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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