#5981F3#5981F3
#5981F3 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.2% C 0.176 H 266.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5981F3 |
|---|---|
| RGB | rgb(89, 129, 243) |
| HSL | hsl(224, 87%, 65%) |
| HSV | hsv(224, 63%, 95%) |
| CMYK | cmyk(63.4%, 46.9%, 0%, 4.7%) |
| CIE-LAB | lab(56.38, 21.27, -61.49) |
| CIE-LCH | lch(56.38, 65.07, 289.08°) |
| OKLab | oklab(63.15% -0.0098 -0.1759) |
| OKLCH | oklch(63.15% 0.176 266.8) |
| XYZ | xyz(28.1422, 24.2929, 87.9826) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.46
Dodger Blue
#3E82FC
ΔE00 3.06
Lightish Blue
#3D7AFD
ΔE00 3.10
Clear Blue
#247AFD
ΔE00 4.46
Cornflower
#6A79F7
ΔE00 4.47
Azure
#007FFF
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981F3 #F3CB59
analogous
#59CEF3 #5981F3 #7E59F3
triadic
#5981F3 #F35981 #81F359
tetradic
#5981F3 #F359CE #F3CB59 #59F37E
square
#5981F3 #F359CE #F3CB59 #59F37E
split-complementary
#5981F3 #F37E59 #CEF359
monochromatic
#0E3DC3 #2056EF #5981F3 #92ACF7 #CBD8FB
Accessibility & contrast
On white
3.58
#5981F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#5981F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981F3
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981F3 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478FF7
Deuteranopia (green-blind)
#2881F1
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5981f3; /* rgb */ color: rgb(89, 129, 243); /* oklch */ color: oklch(63.2% 0.176 266.8);
Tailwind
colors: {
custom: {
50: '#96a5f8',
500: '#5981f3',
950: '#000000',
},
}SCSS
$custom: #5981f3; $custom-light: #96a5f8; $custom-dark: #000000;
JSON
{
"hex": "#5981f3",
"rgb": {
"r": 89,
"g": 129,
"b": 243
},
"hsl": {
"h": 224.416,
"s": 86.517,
"l": 65.098
},
"oklch": {
"l": 0.63154,
"c": 0.17623,
"h": 266.8
},
"luminance": 0.24295
}Semantic roles & 50–950 ramp
primary
#5981F3
secondary
#EEE0BA
accent
#A902E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85