#5981FE#5981FE
#5981FE is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.9% C 0.191 H 267.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5981FE |
|---|---|
| RGB | rgb(89, 129, 254) |
| HSL | hsl(225, 99%, 67%) |
| HSV | hsv(225, 65%, 100%) |
| CMYK | cmyk(65%, 49.2%, 0%, 0.4%) |
| CIE-LAB | lab(57.05, 24.99, -66.48) |
| CIE-LCH | lch(57.05, 71.03, 290.60°) |
| OKLab | oklab(63.88% -0.0085 -0.1906) |
| OKLCH | oklch(63.88% 0.191 267.4) |
| XYZ | xyz(29.8533, 24.9773, 96.9946) |
| Luminance | 0.2498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.06
Lightish Blue
#3D7AFD
ΔE00 3.33
Dodger Blue
#3E82FC
ΔE00 3.43
Cornflower
#6A79F7
ΔE00 4.15
Clear Blue
#247AFD
ΔE00 4.85
Azure
#007FFF
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981FE #FED659
analogous
#59D3FE #5981FE #8459FE
triadic
#5981FE #FE5981 #81FE59
tetradic
#5981FE #FE59D3 #FED659 #59FE84
square
#5981FE #FE59D3 #FED659 #59FE84
split-complementary
#5981FE #FE8459 #D3FE59
monochromatic
#0136DB #1C53FE #5981FE #96AFFE #D3DDFF
Accessibility & contrast
On white
3.50
#5981FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#5981FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981FE
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981FE | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#0082FB
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5981fe; /* rgb */ color: rgb(89, 129, 254); /* oklch */ color: oklch(63.9% 0.191 267.4);
Tailwind
colors: {
custom: {
50: '#98a5ff',
500: '#5981fe',
950: '#000000',
},
}SCSS
$custom: #5981fe; $custom-light: #98a5ff; $custom-dark: #000000;
JSON
{
"hex": "#5981fe",
"rgb": {
"r": 89,
"g": 129,
"b": 254
},
"hsl": {
"h": 225.455,
"s": 98.802,
"l": 67.255
},
"oklch": {
"l": 0.63883,
"c": 0.19083,
"h": 267.4
},
"luminance": 0.2498
}Semantic roles & 50–950 ramp
primary
#5981FE
secondary
#F3E7BF
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86