#5982EF#5982EF
#5982EF is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.1% C 0.170 H 266.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5982EF |
|---|---|
| RGB | rgb(89, 130, 239) |
| HSL | hsl(224, 82%, 64%) |
| HSV | hsv(224, 63%, 94%) |
| CMYK | cmyk(62.8%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(56.41, 19.32, -59.23) |
| CIE-LCH | lch(56.41, 62.30, 288.06°) |
| OKLab | oklab(63.1% -0.0114 -0.1693) |
| OKLCH | oklch(63.1% 0.17 266.2) |
| XYZ | xyz(27.6771, 24.3186, 84.8800) |
| Luminance | 0.2432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.12
Dodger Blue
#3E82FC
ΔE00 2.90
Lightish Blue
#3D7AFD
ΔE00 3.31
Clear Blue
#247AFD
ΔE00 4.46
Cornflower
#6A79F7
ΔE00 4.95
Azure
#007FFF
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5982EF #EFC659
analogous
#59CDEF #5982EF #7B59EF
triadic
#5982EF #EF5982 #82EF59
tetradic
#5982EF #EF59CD #EFC659 #59EF7B
square
#5982EF #EF59CD #EFC659 #59EF7B
split-complementary
#5982EF #EF7B59 #CDEF59
monochromatic
#1240BC #2158EA #5982EF #91ACF4 #C9D6FA
Accessibility & contrast
On white
3.58
#5982EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#5982EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5982EF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5982EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5982EF | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#3281ED
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5982ef; /* rgb */ color: rgb(89, 130, 239); /* oklch */ color: oklch(63.1% 0.170 266.2);
Tailwind
colors: {
custom: {
50: '#95a5f5',
500: '#5982ef',
950: '#000000',
},
}SCSS
$custom: #5982ef; $custom-light: #95a5f5; $custom-dark: #000000;
JSON
{
"hex": "#5982ef",
"rgb": {
"r": 89,
"g": 130,
"b": 239
},
"hsl": {
"h": 223.6,
"s": 82.418,
"l": 64.314
},
"oklch": {
"l": 0.63097,
"c": 0.16967,
"h": 266.2
},
"luminance": 0.24321
}Semantic roles & 50–950 ramp
primary
#5982EF
secondary
#ECDEB8
accent
#A407DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85