#5787FF#5787FF
#5787FF is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.0% C 0.186 H 265.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5787FF |
|---|---|
| RGB | rgb(87, 135, 255) |
| HSL | hsl(223, 100%, 67%) |
| HSV | hsv(223, 66%, 100%) |
| CMYK | cmyk(65.9%, 47.1%, 0%, 0%) |
| CIE-LAB | lab(58.58, 21.38, -64.59) |
| CIE-LCH | lch(58.58, 68.04, 288.32°) |
| OKLab | oklab(65.04% -0.0155 -0.185) |
| OKLCH | oklch(65.04% 0.186 265.2) |
| XYZ | xyz(30.6382, 26.5712, 98.1025) |
| Luminance | 0.2657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.49
Dodger Blue
#3E82FC
ΔE00 2.89
Lightish Blue
#3D7AFD
ΔE00 4.40
Cornflowerblue
#6495ED
ΔE00 4.62
Clear Blue
#247AFD
ΔE00 5.31
Azure
#007FFF
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787FF #FFCF57
analogous
#57DBFF #5787FF #7B57FF
triadic
#5787FF #FF5787 #87FF57
tetradic
#5787FF #FF57DB #FFCF57 #57FF7B
square
#5787FF #FF57DB #FFCF57 #57FF7B
split-complementary
#5787FF #FF7B57 #DBFF57
monochromatic
#003FDC #1A5BFF #5787FF #94B3FF #D1DEFF
Accessibility & contrast
On white
3.33
#5787FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#5787FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787FF
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787FF | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#2186FD
Tritanopia (blue-blind)
#00A3B7
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5787ff; /* rgb */ color: rgb(87, 135, 255); /* oklch */ color: oklch(65.0% 0.186 265.2);
Tailwind
colors: {
custom: {
50: '#97a9ff',
500: '#5787ff',
950: '#000000',
},
}SCSS
$custom: #5787ff; $custom-light: #97a9ff; $custom-dark: #000000;
JSON
{
"hex": "#5787ff",
"rgb": {
"r": 87,
"g": 135,
"b": 255
},
"hsl": {
"h": 222.857,
"s": 100,
"l": 67.059
},
"oklch": {
"l": 0.65037,
"c": 0.18567,
"h": 265.2
},
"luminance": 0.26574
}Semantic roles & 50–950 ramp
primary
#5787FF
secondary
#F4E4BE
accent
#A400E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86