#5787F3#5787F3
#5787F3 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.3% C 0.170 H 264.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5787F3 |
|---|---|
| RGB | rgb(87, 135, 243) |
| HSL | hsl(222, 87%, 65%) |
| HSV | hsv(222, 64%, 95%) |
| CMYK | cmyk(64.2%, 44.4%, 0%, 4.7%) |
| CIE-LAB | lab(57.87, 17.30, -59.11) |
| CIE-LCH | lch(57.87, 61.59, 286.32°) |
| OKLab | oklab(64.27% -0.0173 -0.1689) |
| OKLCH | oklch(64.27% 0.17 264.2) |
| XYZ | xyz(28.7665, 25.8225, 88.2449) |
| Luminance | 0.2582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.89
Dodger Blue
#3E82FC
ΔE00 2.49
Lightish Blue
#3D7AFD
ΔE00 4.30
Cornflowerblue
#6495ED
ΔE00 4.32
Azure
#007FFF
ΔE00 4.97
Clear Blue
#247AFD
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787F3 #F3C357
analogous
#57D5F3 #5787F3 #7557F3
triadic
#5787F3 #F35787 #87F357
tetradic
#5787F3 #F357D5 #F3C357 #57F375
square
#5787F3 #F357D5 #F3C357 #57F375
split-complementary
#5787F3 #F37557 #D5F357
monochromatic
#0E45C2 #1E5EEF #5787F3 #90B0F7 #C9D9FB
Accessibility & contrast
On white
3.41
#5787F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#5787F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787F3
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787F3 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#3884F1
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5787f3; /* rgb */ color: rgb(87, 135, 243); /* oklch */ color: oklch(64.3% 0.170 264.2);
Tailwind
colors: {
custom: {
50: '#95a9f8',
500: '#5787f3',
950: '#000000',
},
}SCSS
$custom: #5787f3; $custom-light: #95a9f8; $custom-dark: #000000;
JSON
{
"hex": "#5787f3",
"rgb": {
"r": 87,
"g": 135,
"b": 243
},
"hsl": {
"h": 221.538,
"s": 86.667,
"l": 64.706
},
"oklch": {
"l": 0.64268,
"c": 0.16979,
"h": 264.2
},
"luminance": 0.25825
}Semantic roles & 50–950 ramp
primary
#5787F3
secondary
#EEDDB8
accent
#9E02E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85