#5881C8#5881C8
#5881C8 is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.5% C 0.118 H 260.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5881C8 |
|---|---|
| RGB | rgb(88, 129, 200) |
| HSL | hsl(218, 50%, 56%) |
| HSV | hsv(218, 56%, 78%) |
| CMYK | cmyk(56%, 35.5%, 0%, 21.6%) |
| CIE-LAB | lab(53.97, 6.79, -41.21) |
| CIE-LCH | lch(53.97, 41.76, 279.35°) |
| OKLab | oklab(60.52% -0.0189 -0.1165) |
| OKLCH | oklch(60.52% 0.118 260.8) |
| XYZ | xyz(22.2965, 21.9436, 57.6930) |
| Luminance | 0.2195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.21
Off Blue
#5684AE
ΔE00 4.47
Dusty Blue
#5A86AD
ΔE00 4.84
Cool Blue
#4984B8
ΔE00 4.94
Soft Blue
#6488EA
ΔE00 4.95
Dodger Blue
#3E82FC
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5881C8 #C89F58
analogous
#58B9C8 #5881C8 #6758C8
triadic
#5881C8 #C85881 #81C858
tetradic
#5881C8 #C858B9 #C89F58 #58C867
square
#5881C8 #C858B9 #C89F58 #58C867
split-complementary
#5881C8 #C86758 #B9C858
monochromatic
#29487D #3862AB #5881C8 #86A4D7 #B4C6E6
Accessibility & contrast
On white
3.90
#5881C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#5881C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5881C8
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5881C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5881C8 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6487CB
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#08919B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5881c8; /* rgb */ color: rgb(88, 129, 200); /* oklch */ color: oklch(60.5% 0.118 260.8);
Tailwind
colors: {
custom: {
50: '#8fa5d9',
500: '#5881c8',
950: '#000000',
},
}SCSS
$custom: #5881c8; $custom-light: #8fa5d9; $custom-dark: #000000;
JSON
{
"hex": "#5881c8",
"rgb": {
"r": 88,
"g": 129,
"b": 200
},
"hsl": {
"h": 218.036,
"s": 50.45,
"l": 56.471
},
"oklch": {
"l": 0.60516,
"c": 0.11802,
"h": 260.8
},
"luminance": 0.21945
}Semantic roles & 50–950 ramp
primary
#5881C8
secondary
#D5C4A7
accent
#A74EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83