#5986E7#5986E7
#5986E7 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.4% C 0.154 H 263.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5986E7 |
|---|---|
| RGB | rgb(89, 134, 231) |
| HSL | hsl(221, 75%, 63%) |
| HSV | hsv(221, 61%, 91%) |
| CMYK | cmyk(61.5%, 42%, 0%, 9.4%) |
| CIE-LAB | lab(57.02, 14.21, -53.80) |
| CIE-LCH | lch(57.02, 55.65, 284.79°) |
| OKLab | oklab(63.42% -0.0166 -0.1533) |
| OKLCH | oklch(63.42% 0.154 263.8) |
| XYZ | xyz(27.0637, 24.9412, 78.9737) |
| Luminance | 0.2494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.82
Dodger Blue
#3E82FC
ΔE00 2.88
Lightish Blue
#3D7AFD
ΔE00 4.40
Cornflowerblue
#6495ED
ΔE00 4.70
Faded Blue
#658CBB
ΔE00 4.89
Clear Blue
#247AFD
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5986E7 #E7BA59
analogous
#59CDE7 #5986E7 #7359E7
triadic
#5986E7 #E75986 #86E759
tetradic
#5986E7 #E759CD #E7BA59 #59E773
square
#5986E7 #E759CD #E7BA59 #59E773
split-complementary
#5986E7 #E77359 #CDE759
monochromatic
#1948AD #245FDF #5986E7 #8EADEF #C4D4F6
Accessibility & contrast
On white
3.51
#5986E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#5986E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5986E7
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5986E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5986E7 | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5986e7; /* rgb */ color: rgb(89, 134, 231); /* oklch */ color: oklch(63.4% 0.154 263.8);
Tailwind
colors: {
custom: {
50: '#94a8ef',
500: '#5986e7',
950: '#000000',
},
}SCSS
$custom: #5986e7; $custom-light: #94a8ef; $custom-dark: #000000;
JSON
{
"hex": "#5986e7",
"rgb": {
"r": 89,
"g": 134,
"b": 231
},
"hsl": {
"h": 220.986,
"s": 74.737,
"l": 62.745
},
"oklch": {
"l": 0.6342,
"c": 0.15419,
"h": 263.8
},
"luminance": 0.24944
}Semantic roles & 50–950 ramp
primary
#5986E7
secondary
#E8D7B4
accent
#970FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84