#5787FD#5787FD
#5787FD is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.9% C 0.183 H 265.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5787FD |
|---|---|
| RGB | rgb(87, 135, 253) |
| HSL | hsl(223, 98%, 67%) |
| HSV | hsv(223, 66%, 99%) |
| CMYK | cmyk(65.6%, 46.6%, 0%, 0.8%) |
| CIE-LAB | lab(58.46, 20.70, -63.68) |
| CIE-LCH | lch(58.46, 66.96, 288.01°) |
| OKLab | oklab(64.91% -0.0158 -0.1824) |
| OKLCH | oklch(64.91% 0.183 265.1) |
| XYZ | xyz(30.3179, 26.4431, 96.4157) |
| Luminance | 0.2645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.34
Dodger Blue
#3E82FC
ΔE00 2.78
Lightish Blue
#3D7AFD
ΔE00 4.35
Cornflowerblue
#6495ED
ΔE00 4.55
Clear Blue
#247AFD
ΔE00 5.23
Azure
#007FFF
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787FD #FDCD57
analogous
#57DAFD #5787FD #7A57FD
triadic
#5787FD #FD5787 #87FD57
tetradic
#5787FD #FD57DA #FDCD57 #57FD7A
square
#5787FD #FD57DA #FDCD57 #57FD7A
split-complementary
#5787FD #FD7A57 #DAFD57
monochromatic
#0340D7 #1B5CFC #5787FD #93B2FE #D0DDFE
Accessibility & contrast
On white
3.34
#5787FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#5787FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787FD
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787FD | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#2685FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5787fd; /* rgb */ color: rgb(87, 135, 253); /* oklch */ color: oklch(64.9% 0.183 265.1);
Tailwind
colors: {
custom: {
50: '#96a9ff',
500: '#5787fd',
950: '#000000',
},
}SCSS
$custom: #5787fd; $custom-light: #96a9ff; $custom-dark: #000000;
JSON
{
"hex": "#5787fd",
"rgb": {
"r": 87,
"g": 135,
"b": 253
},
"hsl": {
"h": 222.651,
"s": 97.647,
"l": 66.667
},
"oklch": {
"l": 0.64906,
"c": 0.18303,
"h": 265.1
},
"luminance": 0.26446
}Semantic roles & 50–950 ramp
primary
#5787FD
secondary
#F3E3BD
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86