#5981F7#5981F7
#5981F7 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.4% C 0.182 H 267.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5981F7 |
|---|---|
| RGB | rgb(89, 129, 247) |
| HSL | hsl(225, 91%, 66%) |
| HSV | hsv(225, 64%, 97%) |
| CMYK | cmyk(64%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(56.62, 22.62, -63.32) |
| CIE-LCH | lch(56.62, 67.24, 289.66°) |
| OKLab | oklab(63.42% -0.0093 -0.1813) |
| OKLCH | oklch(63.42% 0.182 267.1) |
| XYZ | xyz(28.7528, 24.5371, 91.1985) |
| Luminance | 0.2454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.62
Lightish Blue
#3D7AFD
ΔE00 3.12
Dodger Blue
#3E82FC
ΔE00 3.14
Cornflower
#6A79F7
ΔE00 4.31
Clear Blue
#247AFD
ΔE00 4.57
Azure
#007FFF
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981F7 #F7CF59
analogous
#59D0F7 #5981F7 #8059F7
triadic
#5981F7 #F75981 #81F759
tetradic
#5981F7 #F759D0 #F7CF59 #59F780
square
#5981F7 #F759D0 #F7CF59 #59F780
split-complementary
#5981F7 #F78059 #D0F759
monochromatic
#0A3BCC #1F55F4 #5981F7 #93ADFA #CEDAFD
Accessibility & contrast
On white
3.55
#5981F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#5981F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981F7
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981F7 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438FFB
Deuteranopia (green-blind)
#1F81F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5981f7; /* rgb */ color: rgb(89, 129, 247); /* oklch */ color: oklch(63.4% 0.182 267.1);
Tailwind
colors: {
custom: {
50: '#96a5fa',
500: '#5981f7',
950: '#000000',
},
}SCSS
$custom: #5981f7; $custom-light: #96a5fa; $custom-dark: #000000;
JSON
{
"hex": "#5981f7",
"rgb": {
"r": 89,
"g": 129,
"b": 247
},
"hsl": {
"h": 224.81,
"s": 90.805,
"l": 65.882
},
"oklch": {
"l": 0.63416,
"c": 0.18156,
"h": 267.1
},
"luminance": 0.2454
}Semantic roles & 50–950 ramp
primary
#5981F7
secondary
#F0E3BC
accent
#AB00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85