#5981BF#5981BF
#5981BF is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.1% C 0.105 H 258.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5981BF |
|---|---|
| RGB | rgb(89, 129, 191) |
| HSL | hsl(216, 44%, 55%) |
| HSV | hsv(216, 53%, 75%) |
| CMYK | cmyk(53.4%, 32.5%, 0%, 25.1%) |
| CIE-LAB | lab(53.58, 4.11, -36.68) |
| CIE-LCH | lch(53.58, 36.91, 276.40°) |
| OKLab | oklab(60.09% -0.0203 -0.1033) |
| OKLCH | oklch(60.09% 0.105 258.9) |
| XYZ | xyz(21.3708, 21.5843, 52.3201) |
| Luminance | 0.2159 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 3.84
Faded Blue
#658CBB
ΔE00 4.00
Dusty Blue
#5A86AD
ΔE00 4.29
Cool Blue
#4984B8
ΔE00 4.45
Steel Blue
#4682B4
ΔE00 4.92
Windows Blue
#3778BF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981BF #BF9759
analogous
#59B4BF #5981BF #6459BF
triadic
#5981BF #BF5981 #81BF59
tetradic
#5981BF #BF59B4 #BF9759 #59BF64
square
#5981BF #BF59B4 #BF9759 #59BF64
split-complementary
#5981BF #BF6459 #B4BF59
monochromatic
#2C4772 #3D639E #5981BF #85A3D0 #B1C4E1
Accessibility & contrast
On white
3.95
#5981BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#5981BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981BF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981BF | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#218F97
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5981bf; /* rgb */ color: rgb(89, 129, 191); /* oklch */ color: oklch(60.1% 0.105 258.9);
Tailwind
colors: {
custom: {
50: '#8ea5d2',
500: '#5981bf',
950: '#000000',
},
}SCSS
$custom: #5981bf; $custom-light: #8ea5d2; $custom-dark: #000000;
JSON
{
"hex": "#5981bf",
"rgb": {
"r": 89,
"g": 129,
"b": 191
},
"hsl": {
"h": 216.471,
"s": 44.348,
"l": 54.902
},
"oklch": {
"l": 0.60088,
"c": 0.10528,
"h": 258.9
},
"luminance": 0.21586
}Semantic roles & 50–950 ramp
primary
#5981BF
secondary
#CFBFA4
accent
#A254D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82