#5982D5#5982D5
#5982D5 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.134 H 263.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5982D5 |
|---|---|
| RGB | rgb(89, 130, 213) |
| HSL | hsl(220, 60%, 59%) |
| HSV | hsv(220, 58%, 84%) |
| CMYK | cmyk(58.2%, 39%, 0%, 16.5%) |
| CIE-LAB | lab(54.96, 10.64, -46.99) |
| CIE-LCH | lch(54.96, 48.18, 282.76°) |
| OKLab | oklab(61.52% -0.016 -0.1334) |
| OKLCH | oklch(61.52% 0.134 263.1) |
| XYZ | xyz(24.1086, 22.8912, 66.0859) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.52
Dodger Blue
#3E82FC
ΔE00 4.21
Faded Blue
#658CBB
ΔE00 4.45
Lightish Blue
#3D7AFD
ΔE00 4.78
Clear Blue
#247AFD
ΔE00 5.13
Off Blue
#5684AE
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5982D5 #D5AC59
analogous
#59C0D5 #5982D5 #6E59D5
triadic
#5982D5 #D55982 #82D559
tetradic
#5982D5 #D559C0 #D5AC59 #59D56E
square
#5982D5 #D559C0 #D5AC59 #59D56E
split-complementary
#5982D5 #D56E59 #C0D559
monochromatic
#24488F #3160C0 #5982D5 #8AA7E1 #BBCCEE
Accessibility & contrast
On white
3.76
#5982D5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#5982D5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5982D5
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5982D5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5982D5 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F8AD8
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5982d5; /* rgb */ color: rgb(89, 130, 213); /* oklch */ color: oklch(61.5% 0.134 263.1);
Tailwind
colors: {
custom: {
50: '#91a5e2',
500: '#5982d5',
950: '#000000',
},
}SCSS
$custom: #5982d5; $custom-light: #91a5e2; $custom-dark: #000000;
JSON
{
"hex": "#5982d5",
"rgb": {
"r": 89,
"g": 130,
"b": 213
},
"hsl": {
"h": 220.161,
"s": 59.615,
"l": 59.216
},
"oklch": {
"l": 0.61517,
"c": 0.13433,
"h": 263.1
},
"luminance": 0.22893
}Semantic roles & 50–950 ramp
primary
#5982D5
secondary
#DDCDAD
accent
#AF45E3
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83