#517EE1#517EE1
#517EE1 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.0% C 0.158 H 263.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #517EE1 |
|---|---|
| RGB | rgb(81, 126, 225) |
| HSL | hsl(221, 71%, 60%) |
| HSV | hsv(221, 64%, 88%) |
| CMYK | cmyk(64%, 44%, 0%, 11.8%) |
| CIE-LAB | lab(54.14, 15.63, -55.07) |
| CIE-LCH | lch(54.14, 57.25, 285.84°) |
| OKLab | oklab(60.99% -0.0167 -0.1573) |
| OKLCH | oklch(60.99% 0.158 263.9) |
| XYZ | xyz(24.4401, 22.1050, 74.1983) |
| Luminance | 0.2211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.13
Dodger Blue
#3E82FC
ΔE00 3.37
Clear Blue
#247AFD
ΔE00 3.64
Soft Blue
#6488EA
ΔE00 3.98
Deep Sky Blue
#0D75F8
ΔE00 4.56
Azure
#007FFF
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517EE1 #E1B451
analogous
#51C6E1 #517EE1 #6C51E1
triadic
#517EE1 #E1517E #7EE151
tetradic
#517EE1 #E151C6 #E1B451 #51E16C
square
#517EE1 #E151C6 #E1B451 #51E16C
split-complementary
#517EE1 #E16C51 #C6E151
monochromatic
#1B449D #245AD1 #517EE1 #85A5EA #B9CBF3
Accessibility & contrast
On white
3.87
#517EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#517EE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517EE1
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517EE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517EE1 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F88E5
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #517ee1; /* rgb */ color: rgb(81, 126, 225); /* oklch */ color: oklch(61.0% 0.158 263.9);
Tailwind
colors: {
custom: {
50: '#8fa2eb',
500: '#517ee1',
950: '#000000',
},
}SCSS
$custom: #517ee1; $custom-light: #8fa2eb; $custom-dark: #000000;
JSON
{
"hex": "#517ee1",
"rgb": {
"r": 81,
"g": 126,
"b": 225
},
"hsl": {
"h": 221.25,
"s": 70.588,
"l": 60
},
"oklch": {
"l": 0.60991,
"c": 0.15816,
"h": 263.9
},
"luminance": 0.22107
}Semantic roles & 50–950 ramp
primary
#517EE1
secondary
#E3D1AB
accent
#B53AED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84