#5787ED#5787ED
#5787ED is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.162 H 263.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5787ED |
|---|---|
| RGB | rgb(87, 135, 237) |
| HSL | hsl(221, 81%, 64%) |
| HSV | hsv(221, 63%, 93%) |
| CMYK | cmyk(63.3%, 43%, 0%, 7.1%) |
| CIE-LAB | lab(57.53, 15.27, -56.33) |
| CIE-LCH | lch(57.53, 58.37, 285.17°) |
| OKLab | oklab(63.9% -0.0182 -0.1607) |
| OKLCH | oklch(63.9% 0.162 263.5) |
| XYZ | xyz(27.8752, 25.4660, 83.5508) |
| Luminance | 0.2547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.92
Dodger Blue
#3E82FC
ΔE00 2.55
Cornflowerblue
#6495ED
ΔE00 4.31
Lightish Blue
#3D7AFD
ΔE00 4.41
Azure
#007FFF
ΔE00 4.84
Dark Sky Blue
#448EE4
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787ED #EDBD57
analogous
#57D2ED #5787ED #7257ED
triadic
#5787ED #ED5787 #87ED57
tetradic
#5787ED #ED57D2 #EDBD57 #57ED72
square
#5787ED #ED57D2 #EDBD57 #57ED72
split-complementary
#5787ED #ED7257 #D2ED57
monochromatic
#1448B6 #2060E7 #5787ED #8EAEF3 #C6D6F9
Accessibility & contrast
On white
3.45
#5787ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#5787ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787ED
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787ED | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5792F1
Deuteranopia (green-blind)
#3F84EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5787ed; /* rgb */ color: rgb(87, 135, 237); /* oklch */ color: oklch(63.9% 0.162 263.5);
Tailwind
colors: {
custom: {
50: '#94a9f3',
500: '#5787ed',
950: '#000000',
},
}SCSS
$custom: #5787ed; $custom-light: #94a9f3; $custom-dark: #000000;
JSON
{
"hex": "#5787ed",
"rgb": {
"r": 87,
"g": 135,
"b": 237
},
"hsl": {
"h": 220.8,
"s": 80.645,
"l": 63.529
},
"oklch": {
"l": 0.63895,
"c": 0.16177,
"h": 263.5
},
"luminance": 0.25469
}Semantic roles & 50–950 ramp
primary
#5787ED
secondary
#EAD9B5
accent
#9909DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85