#517EF2#517EF2
#517EF2 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.1% C 0.181 H 265.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #517EF2 |
|---|---|
| RGB | rgb(81, 126, 242) |
| HSL | hsl(223, 86%, 63%) |
| HSV | hsv(223, 67%, 95%) |
| CMYK | cmyk(66.5%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(55.15, 21.48, -62.93) |
| CIE-LCH | lch(55.15, 66.49, 288.85°) |
| OKLab | oklab(62.1% -0.0142 -0.1804) |
| OKLCH | oklch(62.1% 0.181 265.5) |
| XYZ | xyz(26.8756, 23.0792, 87.0256) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.01
Dodger Blue
#3E82FC
ΔE00 2.71
Clear Blue
#247AFD
ΔE00 3.37
Soft Blue
#6488EA
ΔE00 3.52
Azure
#007FFF
ΔE00 4.73
Deep Sky Blue
#0D75F8
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517EF2 #F2C551
analogous
#51CEF2 #517EF2 #7451F2
triadic
#517EF2 #F2517E #7EF251
tetradic
#517EF2 #F251CE #F2C551 #51F274
square
#517EF2 #F251CE #F2C551 #51F274
split-complementary
#517EF2 #F27451 #CEF251
monochromatic
#0E3EBB #1854EE #517EF2 #8AA8F6 #C3D2FB
Accessibility & contrast
On white
3.74
#517EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#517EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517EF2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517EF2 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#157DF0
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #517ef2; /* rgb */ color: rgb(81, 126, 242); /* oklch */ color: oklch(62.1% 0.181 265.5);
Tailwind
colors: {
custom: {
50: '#92a2f7',
500: '#517ef2',
950: '#000000',
},
}SCSS
$custom: #517ef2; $custom-light: #92a2f7; $custom-dark: #000000;
JSON
{
"hex": "#517ef2",
"rgb": {
"r": 81,
"g": 126,
"b": 242
},
"hsl": {
"h": 223.23,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.62096,
"c": 0.18093,
"h": 265.5
},
"luminance": 0.23082
}Semantic roles & 50–950 ramp
primary
#517EF2
secondary
#ECDCB3
accent
#A403E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85