#5981FA#5981FA
#5981FA is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.6% C 0.186 H 267.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5981FA |
|---|---|
| RGB | rgb(89, 129, 250) |
| HSL | hsl(225, 94%, 66%) |
| HSV | hsv(225, 64%, 98%) |
| CMYK | cmyk(64.4%, 48.4%, 0%, 2%) |
| CIE-LAB | lab(56.81, 23.64, -64.68) |
| CIE-LCH | lch(56.81, 68.86, 290.08°) |
| OKLab | oklab(63.62% -0.009 -0.1853) |
| OKLCH | oklch(63.62% 0.186 267.2) |
| XYZ | xyz(29.2195, 24.7238, 93.6563) |
| Luminance | 0.2473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.79
Lightish Blue
#3D7AFD
ΔE00 3.18
Dodger Blue
#3E82FC
ΔE00 3.24
Cornflower
#6A79F7
ΔE00 4.22
Clear Blue
#247AFD
ΔE00 4.67
Azure
#007FFF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981FA #FAD259
analogous
#59D2FA #5981FA #8259FA
triadic
#5981FA #FA5981 #81FA59
tetradic
#5981FA #FA59D2 #FAD259 #59FA82
square
#5981FA #FA59D2 #FAD259 #59FA82
split-complementary
#5981FA #FA8259 #D2FA59
monochromatic
#0639D2 #1E54F8 #5981FA #94AEFC #D0DBFE
Accessibility & contrast
On white
3.53
#5981FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#5981FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981FA
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981FA | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F90FE
Deuteranopia (green-blind)
#1581F8
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5981fa; /* rgb */ color: rgb(89, 129, 250); /* oklch */ color: oklch(63.6% 0.186 267.2);
Tailwind
colors: {
custom: {
50: '#97a5fd',
500: '#5981fa',
950: '#000000',
},
}SCSS
$custom: #5981fa; $custom-light: #97a5fd; $custom-dark: #000000;
JSON
{
"hex": "#5981fa",
"rgb": {
"r": 89,
"g": 129,
"b": 250
},
"hsl": {
"h": 225.093,
"s": 94.152,
"l": 66.471
},
"oklch": {
"l": 0.63615,
"c": 0.18555,
"h": 267.2
},
"luminance": 0.24726
}Semantic roles & 50–950 ramp
primary
#5981FA
secondary
#F1E5BD
accent
#AC00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86