#5786EE#5786EE
#5786EE is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.7% C 0.164 H 264.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5786EE |
|---|---|
| RGB | rgb(87, 134, 238) |
| HSL | hsl(221, 82%, 64%) |
| HSV | hsv(221, 63%, 93%) |
| CMYK | cmyk(63.4%, 43.7%, 0%, 6.7%) |
| CIE-LAB | lab(57.32, 16.21, -57.23) |
| CIE-LCH | lch(57.32, 59.48, 285.82°) |
| OKLab | oklab(63.75% -0.0171 -0.1634) |
| OKLCH | oklch(63.75% 0.164 264) |
| XYZ | xyz(27.8828, 25.2469, 84.2761) |
| Luminance | 0.2525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.84
Dodger Blue
#3E82FC
ΔE00 2.46
Lightish Blue
#3D7AFD
ΔE00 4.12
Cornflowerblue
#6495ED
ΔE00 4.62
Clear Blue
#247AFD
ΔE00 4.76
Azure
#007FFF
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786EE #EEBF57
analogous
#57D1EE #5786EE #7357EE
triadic
#5786EE #EE5786 #86EE57
tetradic
#5786EE #EE57D1 #EEBF57 #57EE73
square
#5786EE #EE57D1 #EEBF57 #57EE73
split-complementary
#5786EE #EE7357 #D1EE57
monochromatic
#1346B8 #1F5EE8 #5786EE #8FAEF4 #C6D6F9
Accessibility & contrast
On white
3.47
#5786EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#5786EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786EE
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786EE | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5786ee; /* rgb */ color: rgb(87, 134, 238); /* oklch */ color: oklch(63.7% 0.164 264.0);
Tailwind
colors: {
custom: {
50: '#94a8f4',
500: '#5786ee',
950: '#000000',
},
}SCSS
$custom: #5786ee; $custom-light: #94a8f4; $custom-dark: #000000;
JSON
{
"hex": "#5786ee",
"rgb": {
"r": 87,
"g": 134,
"b": 238
},
"hsl": {
"h": 221.325,
"s": 81.622,
"l": 63.725
},
"oklch": {
"l": 0.6375,
"c": 0.16427,
"h": 264
},
"luminance": 0.25249
}Semantic roles & 50–950 ramp
primary
#5786EE
secondary
#EBDAB6
accent
#9B08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85