#5981BB#5981BB
#5981BB is a mid, moderate blue. Relative luminance 0.214; OKLCH L 59.9% C 0.100 H 257.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5981BB |
|---|---|
| RGB | rgb(89, 129, 187) |
| HSL | hsl(216, 42%, 54%) |
| HSV | hsv(216, 52%, 73%) |
| CMYK | cmyk(52.4%, 31%, 0%, 26.7%) |
| CIE-LAB | lab(53.40, 2.85, -34.69) |
| CIE-LCH | lch(53.40, 34.80, 274.69°) |
| OKLab | oklab(59.88% -0.0214 -0.0975) |
| OKLCH | oklch(59.88% 0.1 257.6) |
| XYZ | xyz(20.9367, 21.4107, 50.0335) |
| Luminance | 0.2141 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 3.47
Faded Blue
#658CBB
ΔE00 3.94
Dusty Blue
#5A86AD
ΔE00 3.97
Cool Blue
#4984B8
ΔE00 4.14
Steel Blue
#4682B4
ΔE00 4.58
Windows Blue
#3778BF
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981BB #BB9359
analogous
#59B2BB #5981BB #6259BB
triadic
#5981BB #BB5981 #81BB59
tetradic
#5981BB #BB59B2 #BB9359 #59BB62
square
#5981BB #BB59B2 #BB9359 #59BB62
split-complementary
#5981BB #BB6259 #B2BB59
monochromatic
#2D476D #3E6398 #5981BB #84A2CD #B0C3DF
Accessibility & contrast
On white
3.98
#5981BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#5981BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981BB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981BB | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A85BD
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#268E96
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5981bb; /* rgb */ color: rgb(89, 129, 187); /* oklch */ color: oklch(59.9% 0.100 257.6);
Tailwind
colors: {
custom: {
50: '#8ea5cf',
500: '#5981bb',
950: '#000000',
},
}SCSS
$custom: #5981bb; $custom-light: #8ea5cf; $custom-dark: #000000;
JSON
{
"hex": "#5981bb",
"rgb": {
"r": 89,
"g": 129,
"b": 187
},
"hsl": {
"h": 215.51,
"s": 41.88,
"l": 54.118
},
"oklch": {
"l": 0.5988,
"c": 0.09985,
"h": 257.6
},
"luminance": 0.21412
}Semantic roles & 50–950 ramp
primary
#5981BB
secondary
#CDBCA3
accent
#9F56D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82