#5989F6#5989F6
#5989F6 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.0% C 0.171 H 264.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5989F6 |
|---|---|
| RGB | rgb(89, 137, 246) |
| HSL | hsl(222, 90%, 66%) |
| HSV | hsv(222, 64%, 96%) |
| CMYK | cmyk(63.8%, 44.3%, 0%, 3.5%) |
| CIE-LAB | lab(58.66, 17.44, -59.49) |
| CIE-LCH | lch(58.66, 61.99, 286.34°) |
| OKLab | oklab(64.96% -0.017 -0.1699) |
| OKLCH | oklch(64.96% 0.171 264.3) |
| XYZ | xyz(29.6942, 26.6662, 90.7531) |
| Luminance | 0.2667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.97
Dodger Blue
#3E82FC
ΔE00 2.95
Cornflowerblue
#6495ED
ΔE00 3.76
Lightish Blue
#3D7AFD
ΔE00 4.88
Dark Sky Blue
#448EE4
ΔE00 5.24
Azure
#007FFF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5989F6 #F6C659
analogous
#59D7F6 #5989F6 #7759F6
triadic
#5989F6 #F65989 #89F659
tetradic
#5989F6 #F659D7 #F6C659 #59F677
square
#5989F6 #F659D7 #F6C659 #59F677
split-complementary
#5989F6 #F67759 #D7F659
monochromatic
#0B45CA #1F60F3 #5989F6 #93B2F9 #CDDCFC
Accessibility & contrast
On white
3.32
#5989F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#5989F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5989F6
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5989F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5989F6 | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5495FA
Deuteranopia (green-blind)
#3A86F4
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5989f6; /* rgb */ color: rgb(89, 137, 246); /* oklch */ color: oklch(65.0% 0.171 264.3);
Tailwind
colors: {
custom: {
50: '#96aafa',
500: '#5989f6',
950: '#000000',
},
}SCSS
$custom: #5989f6; $custom-light: #96aafa; $custom-dark: #000000;
JSON
{
"hex": "#5989f6",
"rgb": {
"r": 89,
"g": 137,
"b": 246
},
"hsl": {
"h": 221.656,
"s": 89.714,
"l": 65.686
},
"oklch": {
"l": 0.64959,
"c": 0.17079,
"h": 264.3
},
"luminance": 0.26669
}Semantic roles & 50–950 ramp
primary
#5989F6
secondary
#F0E0BB
accent
#9F00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85