#5989F7#5989F7
#5989F7 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.0% C 0.172 H 264.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5989F7 |
|---|---|
| RGB | rgb(89, 137, 247) |
| HSL | hsl(222, 91%, 66%) |
| HSV | hsv(222, 64%, 97%) |
| CMYK | cmyk(64%, 44.5%, 0%, 3.1%) |
| CIE-LAB | lab(58.72, 17.78, -59.95) |
| CIE-LCH | lch(58.72, 62.53, 286.52°) |
| OKLab | oklab(65.02% -0.0168 -0.1713) |
| OKLCH | oklch(65.02% 0.172 264.4) |
| XYZ | xyz(29.8481, 26.7278, 91.5636) |
| Luminance | 0.2673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.01
Dodger Blue
#3E82FC
ΔE00 2.97
Cornflowerblue
#6495ED
ΔE00 3.79
Lightish Blue
#3D7AFD
ΔE00 4.89
Dark Sky Blue
#448EE4
ΔE00 5.31
Azure
#007FFF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5989F7 #F7C759
analogous
#59D8F7 #5989F7 #7859F7
triadic
#5989F7 #F75989 #89F759
tetradic
#5989F7 #F759D8 #F7C759 #59F778
square
#5989F7 #F759D8 #F7C759 #59F778
split-complementary
#5989F7 #F77859 #D8F759
monochromatic
#0A45CC #1F5FF4 #5989F7 #93B3FA #CEDCFD
Accessibility & contrast
On white
3.31
#5989F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#5989F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5989F7
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5989F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5989F7 | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#3886F5
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5989f7; /* rgb */ color: rgb(89, 137, 247); /* oklch */ color: oklch(65.0% 0.172 264.4);
Tailwind
colors: {
custom: {
50: '#96aafa',
500: '#5989f7',
950: '#000000',
},
}SCSS
$custom: #5989f7; $custom-light: #96aafa; $custom-dark: #000000;
JSON
{
"hex": "#5989f7",
"rgb": {
"r": 89,
"g": 137,
"b": 247
},
"hsl": {
"h": 221.772,
"s": 90.805,
"l": 65.882
},
"oklch": {
"l": 0.65022,
"c": 0.17212,
"h": 264.4
},
"luminance": 0.26731
}Semantic roles & 50–950 ramp
primary
#5989F7
secondary
#F0E0BC
accent
#A000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85