#5787F4#5787F4
#5787F4 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.171 H 264.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5787F4 |
|---|---|
| RGB | rgb(87, 135, 244) |
| HSL | hsl(222, 88%, 65%) |
| HSV | hsv(222, 64%, 96%) |
| CMYK | cmyk(64.3%, 44.7%, 0%, 4.3%) |
| CIE-LAB | lab(57.93, 17.64, -59.57) |
| CIE-LCH | lch(57.93, 62.13, 286.50°) |
| OKLab | oklab(64.33% -0.0171 -0.1703) |
| OKLCH | oklch(64.33% 0.171 264.3) |
| XYZ | xyz(28.9179, 25.8831, 89.0424) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.91
Dodger Blue
#3E82FC
ΔE00 2.50
Lightish Blue
#3D7AFD
ΔE00 4.29
Cornflowerblue
#6495ED
ΔE00 4.33
Clear Blue
#247AFD
ΔE00 4.99
Azure
#007FFF
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787F4 #F4C457
analogous
#57D5F4 #5787F4 #7657F4
triadic
#5787F4 #F45787 #87F457
tetradic
#5787F4 #F457D5 #F4C457 #57F476
square
#5787F4 #F457D5 #F4C457 #57F476
split-complementary
#5787F4 #F47657 #D5F457
monochromatic
#0D45C4 #1E5EF0 #5787F4 #90B0F8 #CAD9FC
Accessibility & contrast
On white
3.40
#5787F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#5787F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787F4
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787F4 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5293F8
Deuteranopia (green-blind)
#3684F2
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5787f4; /* rgb */ color: rgb(87, 135, 244); /* oklch */ color: oklch(64.3% 0.171 264.3);
Tailwind
colors: {
custom: {
50: '#95a9f8',
500: '#5787f4',
950: '#000000',
},
}SCSS
$custom: #5787f4; $custom-light: #95a9f8; $custom-dark: #000000;
JSON
{
"hex": "#5787f4",
"rgb": {
"r": 87,
"g": 135,
"b": 244
},
"hsl": {
"h": 221.656,
"s": 87.709,
"l": 64.902
},
"oklch": {
"l": 0.6433,
"c": 0.17112,
"h": 264.3
},
"luminance": 0.25886
}Semantic roles & 50–950 ramp
primary
#5787F4
secondary
#EEDEB9
accent
#9F01E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85