#517FE5#517FE5
#517FE5 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.162 H 264.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #517FE5 |
|---|---|
| RGB | rgb(81, 127, 229) |
| HSL | hsl(221, 74%, 61%) |
| HSV | hsv(221, 65%, 90%) |
| CMYK | cmyk(64.6%, 44.5%, 0%, 10.2%) |
| CIE-LAB | lab(54.64, 16.39, -56.51) |
| CIE-LCH | lch(54.64, 58.84, 286.18°) |
| OKLab | oklab(61.45% -0.017 -0.1615) |
| OKLCH | oklch(61.45% 0.162 264) |
| XYZ | xyz(25.1206, 22.5828, 77.1486) |
| Luminance | 0.2258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.90
Dodger Blue
#3E82FC
ΔE00 2.90
Clear Blue
#247AFD
ΔE00 3.50
Soft Blue
#6488EA
ΔE00 3.58
Azure
#007FFF
ΔE00 4.44
Deep Sky Blue
#0D75F8
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517FE5 #E5B751
analogous
#51C9E5 #517FE5 #6D51E5
triadic
#517FE5 #E5517F #7FE551
tetradic
#517FE5 #E551C9 #E5B751 #51E56D
square
#517FE5 #E551C9 #E5B751 #51E56D
split-complementary
#517FE5 #E56D51 #C9E551
monochromatic
#1844A3 #205AD8 #517FE5 #86A6ED #BBCDF5
Accessibility & contrast
On white
3.81
#517FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#517FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517FE5
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517FE5 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8AE9
Deuteranopia (green-blind)
#347CE3
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #517fe5; /* rgb */ color: rgb(81, 127, 229); /* oklch */ color: oklch(61.5% 0.162 264.0);
Tailwind
colors: {
custom: {
50: '#90a3ee',
500: '#517fe5',
950: '#000000',
},
}SCSS
$custom: #517fe5; $custom-light: #90a3ee; $custom-dark: #000000;
JSON
{
"hex": "#517fe5",
"rgb": {
"r": 81,
"g": 127,
"b": 229
},
"hsl": {
"h": 221.351,
"s": 74,
"l": 60.784
},
"oklch": {
"l": 0.61452,
"c": 0.16238,
"h": 264
},
"luminance": 0.22585
}Semantic roles & 50–950 ramp
primary
#517FE5
secondary
#E5D4AD
accent
#980FD6
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84