#5787EE#5787EE
#5787EE is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.0% C 0.163 H 263.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5787EE |
|---|---|
| RGB | rgb(87, 135, 238) |
| HSL | hsl(221, 82%, 64%) |
| HSV | hsv(221, 63%, 93%) |
| CMYK | cmyk(63.4%, 43.3%, 0%, 6.7%) |
| CIE-LAB | lab(57.58, 15.61, -56.80) |
| CIE-LCH | lch(57.58, 58.90, 285.37°) |
| OKLab | oklab(63.96% -0.0181 -0.1621) |
| OKLCH | oklch(63.96% 0.163 263.6) |
| XYZ | xyz(28.0217, 25.5246, 84.3224) |
| Luminance | 0.2553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.90
Dodger Blue
#3E82FC
ΔE00 2.53
Cornflowerblue
#6495ED
ΔE00 4.30
Lightish Blue
#3D7AFD
ΔE00 4.39
Azure
#007FFF
ΔE00 4.86
Clear Blue
#247AFD
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787EE #EEBE57
analogous
#57D3EE #5787EE #7257EE
triadic
#5787EE #EE5787 #87EE57
tetradic
#5787EE #EE57D3 #EEBE57 #57EE72
square
#5787EE #EE57D3 #EEBE57 #57EE72
split-complementary
#5787EE #EE7257 #D3EE57
monochromatic
#1347B8 #1F5FE8 #5787EE #8FAFF4 #C6D6F9
Accessibility & contrast
On white
3.44
#5787EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#5787EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787EE
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787EE | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#3E84EC
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5787ee; /* rgb */ color: rgb(87, 135, 238); /* oklch */ color: oklch(64.0% 0.163 263.6);
Tailwind
colors: {
custom: {
50: '#94a9f4',
500: '#5787ee',
950: '#000000',
},
}SCSS
$custom: #5787ee; $custom-light: #94a9f4; $custom-dark: #000000;
JSON
{
"hex": "#5787ee",
"rgb": {
"r": 87,
"g": 135,
"b": 238
},
"hsl": {
"h": 220.927,
"s": 81.622,
"l": 63.725
},
"oklch": {
"l": 0.63956,
"c": 0.16312,
"h": 263.6
},
"luminance": 0.25527
}Semantic roles & 50–950 ramp
primary
#5787EE
secondary
#EBDAB6
accent
#9A08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85