#517ED5#517ED5
#517ED5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.142 H 262.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #517ED5 |
|---|---|
| RGB | rgb(81, 126, 213) |
| HSL | hsl(220, 61%, 58%) |
| HSV | hsv(220, 62%, 84%) |
| CMYK | cmyk(62%, 40.8%, 0%, 16.5%) |
| CIE-LAB | lab(53.46, 11.53, -49.39) |
| CIE-LCH | lch(53.46, 50.72, 283.14°) |
| OKLab | oklab(60.25% -0.019 -0.1406) |
| OKLCH | oklch(60.25% 0.142 262.3) |
| XYZ | xyz(22.8602, 21.4731, 65.8779) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 4.27
Dodger Blue
#3E82FC
ΔE00 4.30
Clear Blue
#247AFD
ΔE00 4.33
Soft Blue
#6488EA
ΔE00 4.80
Deep Sky Blue
#0D75F8
ΔE00 4.88
Azure
#007FFF
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517ED5 #D5A851
analogous
#51C0D5 #517ED5 #6651D5
triadic
#517ED5 #D5517E #7ED551
tetradic
#517ED5 #D551C0 #D5A851 #51D566
square
#517ED5 #D551C0 #D5A851 #51D566
split-complementary
#517ED5 #D56651 #C0D551
monochromatic
#21458A #2D5EBC #517ED5 #82A3E1 #B4C7ED
Accessibility & contrast
On white
3.97
#517ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#517ED5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517ED5
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517ED5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517ED5 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#447AD3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #517ed5; /* rgb */ color: rgb(81, 126, 213); /* oklch */ color: oklch(60.3% 0.142 262.3);
Tailwind
colors: {
custom: {
50: '#8da2e2',
500: '#517ed5',
950: '#000000',
},
}SCSS
$custom: #517ed5; $custom-light: #8da2e2; $custom-dark: #000000;
JSON
{
"hex": "#517ed5",
"rgb": {
"r": 81,
"g": 126,
"b": 213
},
"hsl": {
"h": 219.545,
"s": 61.111,
"l": 57.647
},
"oklch": {
"l": 0.60253,
"c": 0.14187,
"h": 262.3
},
"luminance": 0.21475
}Semantic roles & 50–950 ramp
primary
#517ED5
secondary
#DBC9A6
accent
#AD44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83