#5987FA#5987FA
#5987FA is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.178 H 265.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5987FA |
|---|---|
| RGB | rgb(89, 135, 250) |
| HSL | hsl(223, 94%, 66%) |
| HSV | hsv(223, 64%, 98%) |
| CMYK | cmyk(64.4%, 46%, 0%, 2%) |
| CIE-LAB | lab(58.37, 20.00, -62.17) |
| CIE-LCH | lch(58.37, 65.31, 287.84°) |
| OKLab | oklab(64.81% -0.0145 -0.1779) |
| OKLCH | oklch(64.81% 0.178 265.3) |
| XYZ | xyz(30.0331, 26.3511, 93.9275) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.01
Dodger Blue
#3E82FC
ΔE00 2.88
Lightish Blue
#3D7AFD
ΔE00 4.38
Cornflowerblue
#6495ED
ΔE00 4.51
Clear Blue
#247AFD
ΔE00 5.30
Azure
#007FFF
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5987FA #FACC59
analogous
#59D8FA #5987FA #7C59FA
triadic
#5987FA #FA5987 #87FA59
tetradic
#5987FA #FA59D8 #FACC59 #59FA7C
square
#5987FA #FA59D8 #FACC59 #59FA7C
split-complementary
#5987FA #FA7C59 #D8FA59
monochromatic
#0641D2 #1E5CF8 #5987FA #94B2FC #D0DDFE
Accessibility & contrast
On white
3.35
#5987FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#5987FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5987FA
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5987FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5987FA | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#2E85F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5987fa; /* rgb */ color: rgb(89, 135, 250); /* oklch */ color: oklch(64.8% 0.178 265.3);
Tailwind
colors: {
custom: {
50: '#97a9fd',
500: '#5987fa',
950: '#000000',
},
}SCSS
$custom: #5987fa; $custom-light: #97a9fd; $custom-dark: #000000;
JSON
{
"hex": "#5987fa",
"rgb": {
"r": 89,
"g": 135,
"b": 250
},
"hsl": {
"h": 222.857,
"s": 94.152,
"l": 66.471
},
"oklch": {
"l": 0.64808,
"c": 0.17845,
"h": 265.3
},
"luminance": 0.26354
}Semantic roles & 50–950 ramp
primary
#5987FA
secondary
#F1E3BD
accent
#A400E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86