#5989FA#5989FA
#5989FA is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.2% C 0.176 H 264.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5989FA |
|---|---|
| RGB | rgb(89, 137, 250) |
| HSL | hsl(222, 94%, 66%) |
| HSV | hsv(222, 64%, 98%) |
| CMYK | cmyk(64.4%, 45.2%, 0%, 2%) |
| CIE-LAB | lab(58.90, 18.80, -61.32) |
| CIE-LCH | lch(58.90, 64.14, 287.04°) |
| OKLab | oklab(65.21% -0.0163 -0.1753) |
| OKLCH | oklch(65.21% 0.176 264.7) |
| XYZ | xyz(30.3148, 26.9144, 94.0214) |
| Luminance | 0.2692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.16
Dodger Blue
#3E82FC
ΔE00 3.05
Cornflowerblue
#6495ED
ΔE00 3.88
Lightish Blue
#3D7AFD
ΔE00 4.90
Dark Sky Blue
#448EE4
ΔE00 5.53
Azure
#007FFF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5989FA #FACA59
analogous
#59D9FA #5989FA #7A59FA
triadic
#5989FA #FA5989 #89FA59
tetradic
#5989FA #FA59D9 #FACA59 #59FA7A
square
#5989FA #FA59D9 #FACA59 #59FA7A
split-complementary
#5989FA #FA7A59 #D9FA59
monochromatic
#0643D2 #1E5FF8 #5989FA #94B3FC #D0DDFE
Accessibility & contrast
On white
3.29
#5989FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#5989FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5989FA
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5989FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5989FA | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5196FE
Deuteranopia (green-blind)
#3487F8
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5989fa; /* rgb */ color: rgb(89, 137, 250); /* oklch */ color: oklch(65.2% 0.176 264.7);
Tailwind
colors: {
custom: {
50: '#97aafc',
500: '#5989fa',
950: '#000000',
},
}SCSS
$custom: #5989fa; $custom-light: #97aafc; $custom-dark: #000000;
JSON
{
"hex": "#5989fa",
"rgb": {
"r": 89,
"g": 137,
"b": 250
},
"hsl": {
"h": 222.112,
"s": 94.152,
"l": 66.471
},
"oklch": {
"l": 0.65211,
"c": 0.17611,
"h": 264.7
},
"luminance": 0.26917
}Semantic roles & 50–950 ramp
primary
#5989FA
secondary
#F1E2BD
accent
#A100E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86