#5984F6#5984F6
#5984F6 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.9% C 0.177 H 266.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5984F6 |
|---|---|
| RGB | rgb(89, 132, 246) |
| HSL | hsl(224, 90%, 66%) |
| HSV | hsv(224, 64%, 96%) |
| CMYK | cmyk(63.8%, 46.3%, 0%, 3.5%) |
| CIE-LAB | lab(57.34, 20.47, -61.60) |
| CIE-LCH | lch(57.34, 64.91, 288.38°) |
| OKLab | oklab(63.95% -0.0122 -0.1762) |
| OKLCH | oklch(63.95% 0.177 266) |
| XYZ | xyz(28.9999, 25.2775, 90.5217) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.95
Dodger Blue
#3E82FC
ΔE00 2.76
Lightish Blue
#3D7AFD
ΔE00 3.65
Clear Blue
#247AFD
ΔE00 4.77
Cornflower
#6A79F7
ΔE00 5.23
Azure
#007FFF
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5984F6 #F6CB59
analogous
#59D2F6 #5984F6 #7C59F6
triadic
#5984F6 #F65984 #84F659
tetradic
#5984F6 #F659D2 #F6CB59 #59F67C
square
#5984F6 #F659D2 #F6CB59 #59F67C
split-complementary
#5984F6 #F67C59 #D2F659
monochromatic
#0B3FCA #1F59F3 #5984F6 #93AFF9 #CDDAFC
Accessibility & contrast
On white
3.47
#5984F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#5984F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5984F6
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5984F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5984F6 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A91FA
Deuteranopia (green-blind)
#2C83F4
Tritanopia (blue-blind)
#009EB1
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5984f6; /* rgb */ color: rgb(89, 132, 246); /* oklch */ color: oklch(63.9% 0.177 266.0);
Tailwind
colors: {
custom: {
50: '#96a7fa',
500: '#5984f6',
950: '#000000',
},
}SCSS
$custom: #5984f6; $custom-light: #96a7fa; $custom-dark: #000000;
JSON
{
"hex": "#5984f6",
"rgb": {
"r": 89,
"g": 132,
"b": 246
},
"hsl": {
"h": 223.567,
"s": 89.714,
"l": 65.686
},
"oklch": {
"l": 0.63949,
"c": 0.17667,
"h": 266
},
"luminance": 0.2528
}Semantic roles & 50–950 ramp
primary
#5984F6
secondary
#F0E1BB
accent
#A700E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85