#5989FF#5989FF
#5989FF is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.5% C 0.183 H 265.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5989FF |
|---|---|
| RGB | rgb(89, 137, 255) |
| HSL | hsl(223, 100%, 67%) |
| HSV | hsv(223, 65%, 100%) |
| CMYK | cmyk(65.1%, 46.3%, 0%, 0%) |
| CIE-LAB | lab(59.19, 20.49, -63.60) |
| CIE-LCH | lch(59.19, 66.82, 287.86°) |
| OKLab | oklab(65.53% -0.0156 -0.182) |
| OKLCH | oklch(65.53% 0.183 265.1) |
| XYZ | xyz(31.1092, 27.2322, 98.2052) |
| Luminance | 0.2723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.50
Dodger Blue
#3E82FC
ΔE00 3.27
Cornflowerblue
#6495ED
ΔE00 4.08
Lightish Blue
#3D7AFD
ΔE00 4.98
Azure
#007FFF
ΔE00 5.78
Clear Blue
#247AFD
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5989FF #FFCF59
analogous
#59DCFF #5989FF #7C59FF
triadic
#5989FF #FF5989 #89FF59
tetradic
#5989FF #FF59DC #FFCF59 #59FF7C
square
#5989FF #FF59DC #FFCF59 #59FF7C
split-complementary
#5989FF #FF7C59 #DCFF59
monochromatic
#0040DE #1C5DFF #5989FF #96B5FF #D3E0FF
Accessibility & contrast
On white
3.26
#5989FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#5989FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5989FF
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5989FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5989FF | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D97FF
Deuteranopia (green-blind)
#2B87FD
Tritanopia (blue-blind)
#00A4B8
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5989ff; /* rgb */ color: rgb(89, 137, 255); /* oklch */ color: oklch(65.5% 0.183 265.1);
Tailwind
colors: {
custom: {
50: '#98aaff',
500: '#5989ff',
950: '#000000',
},
}SCSS
$custom: #5989ff; $custom-light: #98aaff; $custom-dark: #000000;
JSON
{
"hex": "#5989ff",
"rgb": {
"r": 89,
"g": 137,
"b": 255
},
"hsl": {
"h": 222.651,
"s": 100,
"l": 67.451
},
"oklch": {
"l": 0.6553,
"c": 0.18271,
"h": 265.1
},
"luminance": 0.27235
}Semantic roles & 50–950 ramp
primary
#5989FF
secondary
#F4E5C0
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86