#5989EF#5989EF
#5989EF is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.5% C 0.161 H 263.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5989EF |
|---|---|
| RGB | rgb(89, 137, 239) |
| HSL | hsl(221, 82%, 64%) |
| HSV | hsv(221, 63%, 94%) |
| CMYK | cmyk(62.8%, 42.7%, 0%, 6.3%) |
| CIE-LAB | lab(58.27, 15.09, -56.25) |
| CIE-LCH | lch(58.27, 58.24, 285.01°) |
| OKLab | oklab(64.53% -0.0181 -0.1604) |
| OKLCH | oklch(64.53% 0.161 263.5) |
| XYZ | xyz(28.6400, 26.2445, 85.2010) |
| Luminance | 0.2625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.88
Dodger Blue
#3E82FC
ΔE00 2.93
Cornflowerblue
#6495ED
ΔE00 3.67
Dark Sky Blue
#448EE4
ΔE00 4.76
Lightish Blue
#3D7AFD
ΔE00 4.95
Azure
#007FFF
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5989EF #EFBF59
analogous
#59D4EF #5989EF #7459EF
triadic
#5989EF #EF5989 #89EF59
tetradic
#5989EF #EF59D4 #EFBF59 #59EF74
square
#5989EF #EF59D4 #EFBF59 #59EF74
split-complementary
#5989EF #EF7459 #D4EF59
monochromatic
#1248BC #2161EA #5989EF #91B1F4 #C9D8FA
Accessibility & contrast
On white
3.36
#5989EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#5989EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5989EF
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5989EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5989EF | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A93F3
Deuteranopia (green-blind)
#4286ED
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5989ef; /* rgb */ color: rgb(89, 137, 239); /* oklch */ color: oklch(64.5% 0.161 263.5);
Tailwind
colors: {
custom: {
50: '#95aaf5',
500: '#5989ef',
950: '#000000',
},
}SCSS
$custom: #5989ef; $custom-light: #95aaf5; $custom-dark: #000000;
JSON
{
"hex": "#5989ef",
"rgb": {
"r": 89,
"g": 137,
"b": 239
},
"hsl": {
"h": 220.8,
"s": 82.418,
"l": 64.314
},
"oklch": {
"l": 0.64527,
"c": 0.16146,
"h": 263.5
},
"luminance": 0.26247
}Semantic roles & 50–950 ramp
primary
#5989EF
secondary
#ECDBB8
accent
#9A07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85