#5786ED#5786ED
#5786ED is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.7% C 0.163 H 263.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5786ED |
|---|---|
| RGB | rgb(87, 134, 237) |
| HSL | hsl(221, 81%, 64%) |
| HSV | hsv(221, 63%, 93%) |
| CMYK | cmyk(63.3%, 43.5%, 0%, 7.1%) |
| CIE-LAB | lab(57.26, 15.88, -56.76) |
| CIE-LCH | lch(57.26, 58.94, 285.63°) |
| OKLab | oklab(63.69% -0.0173 -0.162) |
| OKLCH | oklch(63.69% 0.163 263.9) |
| XYZ | xyz(27.7363, 25.1883, 83.5045) |
| Luminance | 0.2519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.86
Dodger Blue
#3E82FC
ΔE00 2.48
Lightish Blue
#3D7AFD
ΔE00 4.14
Cornflowerblue
#6495ED
ΔE00 4.63
Clear Blue
#247AFD
ΔE00 4.76
Azure
#007FFF
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786ED #EDBE57
analogous
#57D1ED #5786ED #7357ED
triadic
#5786ED #ED5786 #86ED57
tetradic
#5786ED #ED57D1 #EDBE57 #57ED73
square
#5786ED #ED57D1 #EDBE57 #57ED73
split-complementary
#5786ED #ED7357 #D1ED57
monochromatic
#1446B6 #205EE7 #5786ED #8EAEF3 #C6D6F9
Accessibility & contrast
On white
3.48
#5786ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#5786ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786ED
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786ED | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5786ed; /* rgb */ color: rgb(87, 134, 237); /* oklch */ color: oklch(63.7% 0.163 263.9);
Tailwind
colors: {
custom: {
50: '#94a8f3',
500: '#5786ed',
950: '#000000',
},
}SCSS
$custom: #5786ed; $custom-light: #94a8f3; $custom-dark: #000000;
JSON
{
"hex": "#5786ed",
"rgb": {
"r": 87,
"g": 134,
"b": 237
},
"hsl": {
"h": 221.2,
"s": 80.645,
"l": 63.529
},
"oklch": {
"l": 0.63688,
"c": 0.16294,
"h": 263.9
},
"luminance": 0.25191
}Semantic roles & 50–950 ramp
primary
#5786ED
secondary
#EADAB5
accent
#9A09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85