#5987EB#5987EB
#5987EB is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.158 H 263.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5987EB |
|---|---|
| RGB | rgb(89, 135, 235) |
| HSL | hsl(221, 78%, 64%) |
| HSV | hsv(221, 62%, 92%) |
| CMYK | cmyk(62.1%, 42.6%, 0%, 7.8%) |
| CIE-LAB | lab(57.51, 14.95, -55.24) |
| CIE-LCH | lch(57.51, 57.23, 285.14°) |
| OKLab | oklab(63.87% -0.0169 -0.1575) |
| OKLCH | oklch(63.87% 0.158 263.9) |
| XYZ | xyz(27.7740, 25.4474, 82.0293) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.68
Dodger Blue
#3E82FC
ΔE00 2.79
Cornflowerblue
#6495ED
ΔE00 4.33
Lightish Blue
#3D7AFD
ΔE00 4.51
Dark Sky Blue
#448EE4
ΔE00 5.04
Azure
#007FFF
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5987EB #EBBD59
analogous
#59D0EB #5987EB #7459EB
triadic
#5987EB #EB5987 #87EB59
tetradic
#5987EB #EB59D0 #EBBD59 #59EB74
square
#5987EB #EB59D0 #EBBD59 #59EB74
split-complementary
#5987EB #EB7459 #D0EB59
monochromatic
#1648B4 #2260E4 #5987EB #90AEF2 #C6D6F8
Accessibility & contrast
On white
3.45
#5987EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#5987EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5987EB
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5987EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5987EB | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5987eb; /* rgb */ color: rgb(89, 135, 235); /* oklch */ color: oklch(63.9% 0.158 263.9);
Tailwind
colors: {
custom: {
50: '#94a9f2',
500: '#5987eb',
950: '#000000',
},
}SCSS
$custom: #5987eb; $custom-light: #94a9f2; $custom-dark: #000000;
JSON
{
"hex": "#5987eb",
"rgb": {
"r": 89,
"g": 135,
"b": 235
},
"hsl": {
"h": 221.096,
"s": 78.495,
"l": 63.529
},
"oklch": {
"l": 0.6387,
"c": 0.15842,
"h": 263.9
},
"luminance": 0.2545
}Semantic roles & 50–950 ramp
primary
#5987EB
secondary
#EAD9B6
accent
#990BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85