#5981EB#5981EB
#5981EB is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.165 H 266.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5981EB |
|---|---|
| RGB | rgb(89, 129, 235) |
| HSL | hsl(224, 78%, 64%) |
| HSV | hsv(224, 62%, 92%) |
| CMYK | cmyk(62.1%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(55.91, 18.58, -57.81) |
| CIE-LCH | lch(55.91, 60.72, 287.82°) |
| OKLab | oklab(62.64% -0.011 -0.1651) |
| OKLCH | oklch(62.64% 0.165 266.2) |
| XYZ | xyz(26.9603, 23.8201, 81.7581) |
| Luminance | 0.2382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.37
Dodger Blue
#3E82FC
ΔE00 3.11
Lightish Blue
#3D7AFD
ΔE00 3.26
Clear Blue
#247AFD
ΔE00 4.40
Cornflower
#6A79F7
ΔE00 4.92
Azure
#007FFF
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981EB #EBC359
analogous
#59CAEB #5981EB #7A59EB
triadic
#5981EB #EB5981 #81EB59
tetradic
#5981EB #EB59CA #EBC359 #59EB7A
square
#5981EB #EB59CA #EBC359 #59EB7A
split-complementary
#5981EB #EB7A59 #CAEB59
monochromatic
#1641B4 #2258E4 #5981EB #90AAF2 #C6D4F8
Accessibility & contrast
On white
3.64
#5981EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#5981EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981EB
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981EB | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#3580E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5981eb; /* rgb */ color: rgb(89, 129, 235); /* oklch */ color: oklch(62.6% 0.165 266.2);
Tailwind
colors: {
custom: {
50: '#95a5f2',
500: '#5981eb',
950: '#000000',
},
}SCSS
$custom: #5981eb; $custom-light: #95a5f2; $custom-dark: #000000;
JSON
{
"hex": "#5981eb",
"rgb": {
"r": 89,
"g": 129,
"b": 235
},
"hsl": {
"h": 223.562,
"s": 78.495,
"l": 63.529
},
"oklch": {
"l": 0.6264,
"c": 0.16548,
"h": 266.2
},
"luminance": 0.23823
}Semantic roles & 50–950 ramp
primary
#5981EB
secondary
#EADCB6
accent
#A20BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85