#5986F7#5986F7
#5986F7 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.176 H 265.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5986F7 |
|---|---|
| RGB | rgb(89, 134, 247) |
| HSL | hsl(223, 91%, 66%) |
| HSV | hsv(223, 64%, 97%) |
| CMYK | cmyk(64%, 45.7%, 0%, 3.1%) |
| CIE-LAB | lab(57.93, 19.59, -61.22) |
| CIE-LCH | lch(57.93, 64.28, 287.75°) |
| OKLab | oklab(64.42% -0.014 -0.1751) |
| OKLCH | oklch(64.42% 0.176 265.4) |
| XYZ | xyz(29.4276, 25.8867, 91.4235) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.82
Dodger Blue
#3E82FC
ΔE00 2.74
Lightish Blue
#3D7AFD
ΔE00 4.11
Cornflowerblue
#6495ED
ΔE00 4.75
Clear Blue
#247AFD
ΔE00 5.06
Azure
#007FFF
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5986F7 #F7CA59
analogous
#59D5F7 #5986F7 #7B59F7
triadic
#5986F7 #F75986 #86F759
tetradic
#5986F7 #F759D5 #F7CA59 #59F77B
square
#5986F7 #F759D5 #F7CA59 #59F77B
split-complementary
#5986F7 #F77B59 #D5F759
monochromatic
#0A41CC #1F5BF4 #5986F7 #93B1FA #CEDBFD
Accessibility & contrast
On white
3.40
#5986F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#5986F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5986F7
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5986F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5986F7 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#3084F5
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5986f7; /* rgb */ color: rgb(89, 134, 247); /* oklch */ color: oklch(64.4% 0.176 265.4);
Tailwind
colors: {
custom: {
50: '#96a8fa',
500: '#5986f7',
950: '#000000',
},
}SCSS
$custom: #5986f7; $custom-light: #96a8fa; $custom-dark: #000000;
JSON
{
"hex": "#5986f7",
"rgb": {
"r": 89,
"g": 134,
"b": 247
},
"hsl": {
"h": 222.911,
"s": 90.805,
"l": 65.882
},
"oklch": {
"l": 0.64415,
"c": 0.17564,
"h": 265.4
},
"luminance": 0.25889
}Semantic roles & 50–950 ramp
primary
#5986F7
secondary
#F0E1BC
accent
#A400E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85