#517FE8#517FE8
#517FE8 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.166 H 264.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #517FE8 |
|---|---|
| RGB | rgb(81, 127, 232) |
| HSL | hsl(222, 77%, 61%) |
| HSV | hsv(222, 65%, 91%) |
| CMYK | cmyk(65.1%, 45.3%, 0%, 9%) |
| CIE-LAB | lab(54.82, 17.42, -57.90) |
| CIE-LCH | lch(54.82, 60.47, 286.75°) |
| OKLab | oklab(61.64% -0.0165 -0.1656) |
| OKLCH | oklch(61.64% 0.166 264.3) |
| XYZ | xyz(25.5431, 22.7518, 79.3737) |
| Luminance | 0.2275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.67
Dodger Blue
#3E82FC
ΔE00 2.73
Clear Blue
#247AFD
ΔE00 3.42
Soft Blue
#6488EA
ΔE00 3.45
Azure
#007FFF
ΔE00 4.43
Deep Sky Blue
#0D75F8
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517FE8 #E8BA51
analogous
#51CBE8 #517FE8 #6F51E8
triadic
#517FE8 #E8517F #7FE851
tetradic
#517FE8 #E851CB #E8BA51 #51E86F
square
#517FE8 #E851CB #E8BA51 #51E86F
split-complementary
#517FE8 #E86F51 #CBE851
monochromatic
#1643A8 #1D58DE #517FE8 #87A7EF #BDCFF6
Accessibility & contrast
On white
3.78
#517FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#517FE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517FE8
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517FE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517FE8 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8BEC
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #517fe8; /* rgb */ color: rgb(81, 127, 232); /* oklch */ color: oklch(61.6% 0.166 264.3);
Tailwind
colors: {
custom: {
50: '#90a3f0',
500: '#517fe8',
950: '#000000',
},
}SCSS
$custom: #517fe8; $custom-light: #90a3f0; $custom-dark: #000000;
JSON
{
"hex": "#517fe8",
"rgb": {
"r": 81,
"g": 127,
"b": 232
},
"hsl": {
"h": 221.722,
"s": 76.65,
"l": 61.373
},
"oklch": {
"l": 0.61643,
"c": 0.16641,
"h": 264.3
},
"luminance": 0.22754
}Semantic roles & 50–950 ramp
primary
#517FE8
secondary
#E7D5AE
accent
#9B0DD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85