#5981FF#5981FF
#5981FF is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.9% C 0.192 H 267.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5981FF |
|---|---|
| RGB | rgb(89, 129, 255) |
| HSL | hsl(226, 100%, 67%) |
| HSV | hsv(226, 65%, 100%) |
| CMYK | cmyk(65.1%, 49.4%, 0%, 0%) |
| CIE-LAB | lab(57.12, 25.33, -66.93) |
| CIE-LCH | lch(57.12, 71.57, 290.73°) |
| OKLab | oklab(63.95% -0.0084 -0.192) |
| OKLCH | oklch(63.95% 0.192 267.5) |
| XYZ | xyz(30.0139, 25.0415, 97.8401) |
| Luminance | 0.2504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.13
Lightish Blue
#3D7AFD
ΔE00 3.37
Dodger Blue
#3E82FC
ΔE00 3.48
Cornflower
#6A79F7
ΔE00 4.14
Clear Blue
#247AFD
ΔE00 4.90
Azure
#007FFF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981FF #FFD759
analogous
#59D4FF #5981FF #8459FF
triadic
#5981FF #FF5981 #81FF59
tetradic
#5981FF #FF59D4 #FFD759 #59FF84
square
#5981FF #FF59D4 #FFD759 #59FF84
split-complementary
#5981FF #FF8459 #D4FF59
monochromatic
#0035DE #1C53FF #5981FF #96AFFF #D3DEFF
Accessibility & contrast
On white
3.49
#5981FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#5981FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981FF
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981FF | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3991FF
Deuteranopia (green-blind)
#0082FC
Tritanopia (blue-blind)
#009EB4
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5981ff; /* rgb */ color: rgb(89, 129, 255); /* oklch */ color: oklch(63.9% 0.192 267.5);
Tailwind
colors: {
custom: {
50: '#98a5ff',
500: '#5981ff',
950: '#000000',
},
}SCSS
$custom: #5981ff; $custom-light: #98a5ff; $custom-dark: #000000;
JSON
{
"hex": "#5981ff",
"rgb": {
"r": 89,
"g": 129,
"b": 255
},
"hsl": {
"h": 225.542,
"s": 100,
"l": 67.451
},
"oklch": {
"l": 0.6395,
"c": 0.19214,
"h": 267.5
},
"luminance": 0.25044
}Semantic roles & 50–950 ramp
primary
#5981FF
secondary
#F4E7C0
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86