#5787EF#5787EF
#5787EF is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.164 H 263.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5787EF |
|---|---|
| RGB | rgb(87, 135, 239) |
| HSL | hsl(221, 83%, 64%) |
| HSV | hsv(221, 64%, 94%) |
| CMYK | cmyk(63.6%, 43.5%, 0%, 6.3%) |
| CIE-LAB | lab(57.64, 15.95, -57.26) |
| CIE-LCH | lch(57.64, 59.44, 285.56°) |
| OKLab | oklab(64.02% -0.0179 -0.1635) |
| OKLCH | oklch(64.02% 0.164 263.7) |
| XYZ | xyz(28.1690, 25.5836, 85.0982) |
| Luminance | 0.2559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.88
Dodger Blue
#3E82FC
ΔE00 2.51
Cornflowerblue
#6495ED
ΔE00 4.30
Lightish Blue
#3D7AFD
ΔE00 4.36
Azure
#007FFF
ΔE00 4.87
Clear Blue
#247AFD
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787EF #EFBF57
analogous
#57D3EF #5787EF #7357EF
triadic
#5787EF #EF5787 #87EF57
tetradic
#5787EF #EF57D3 #EFBF57 #57EF73
square
#5787EF #EF57D3 #EFBF57 #57EF73
split-complementary
#5787EF #EF7357 #D3EF57
monochromatic
#1247BA #1F5FEA #5787EF #8FAFF4 #C7D7FA
Accessibility & contrast
On white
3.43
#5787EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#5787EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787EF
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787EF | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#3D84ED
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5787ef; /* rgb */ color: rgb(87, 135, 239); /* oklch */ color: oklch(64.0% 0.164 263.7);
Tailwind
colors: {
custom: {
50: '#94a9f5',
500: '#5787ef',
950: '#000000',
},
}SCSS
$custom: #5787ef; $custom-light: #94a9f5; $custom-dark: #000000;
JSON
{
"hex": "#5787ef",
"rgb": {
"r": 87,
"g": 135,
"b": 239
},
"hsl": {
"h": 221.053,
"s": 82.609,
"l": 63.922
},
"oklch": {
"l": 0.64018,
"c": 0.16445,
"h": 263.7
},
"luminance": 0.25586
}Semantic roles & 50–950 ramp
primary
#5787EF
secondary
#ECDBB6
accent
#9B06DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85