#5987EE#5987EE
#5987EE is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.162 H 264.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5987EE |
|---|---|
| RGB | rgb(89, 135, 238) |
| HSL | hsl(221, 81%, 64%) |
| HSV | hsv(221, 63%, 93%) |
| CMYK | cmyk(62.6%, 43.3%, 0%, 6.7%) |
| CIE-LAB | lab(57.68, 15.95, -56.64) |
| CIE-LCH | lch(57.68, 58.85, 285.73°) |
| OKLab | oklab(64.05% -0.0164 -0.1616) |
| OKLCH | oklch(64.05% 0.162 264.2) |
| XYZ | xyz(28.2111, 25.6223, 84.3312) |
| Luminance | 0.2562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.61
Dodger Blue
#3E82FC
ΔE00 2.73
Cornflowerblue
#6495ED
ΔE00 4.32
Lightish Blue
#3D7AFD
ΔE00 4.44
Clear Blue
#247AFD
ΔE00 5.09
Azure
#007FFF
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5987EE #EEC059
analogous
#59D1EE #5987EE #7659EE
triadic
#5987EE #EE5987 #87EE59
tetradic
#5987EE #EE59D1 #EEC059 #59EE76
square
#5987EE #EE59D1 #EEC059 #59EE76
split-complementary
#5987EE #EE7659 #D1EE59
monochromatic
#1346BA #215FE8 #5987EE #91AFF4 #C8D7F9
Accessibility & contrast
On white
3.43
#5987EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#5987EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5987EE
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5987EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5987EE | 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)
#5792F2
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5987ee; /* rgb */ color: rgb(89, 135, 238); /* oklch */ color: oklch(64.1% 0.162 264.2);
Tailwind
colors: {
custom: {
50: '#95a9f4',
500: '#5987ee',
950: '#000000',
},
}SCSS
$custom: #5987ee; $custom-light: #95a9f4; $custom-dark: #000000;
JSON
{
"hex": "#5987ee",
"rgb": {
"r": 89,
"g": 135,
"b": 238
},
"hsl": {
"h": 221.477,
"s": 81.421,
"l": 64.118
},
"oklch": {
"l": 0.64054,
"c": 0.16245,
"h": 264.2
},
"luminance": 0.25625
}Semantic roles & 50–950 ramp
primary
#5987EE
secondary
#EBDBB7
accent
#9C08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85