#5879BF#5879BF
#5879BF is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.3% C 0.115 H 264.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5879BF |
|---|---|
| RGB | rgb(88, 121, 191) |
| HSL | hsl(221, 45%, 55%) |
| HSV | hsv(221, 54%, 75%) |
| CMYK | cmyk(53.9%, 36.6%, 0%, 25.1%) |
| CIE-LAB | lab(51.28, 8.70, -40.31) |
| CIE-LCH | lch(51.28, 41.24, 282.18°) |
| OKLab | oklab(58.28% -0.0119 -0.114) |
| OKLCH | oklch(58.28% 0.115 264) |
| XYZ | xyz(20.2627, 19.5095, 51.9781) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.24
Windows Blue
#3778BF
ΔE00 5.44
Off Blue
#5684AE
ΔE00 5.87
French Blue
#436BAD
ΔE00 6.05
Dusty Blue
#5A86AD
ΔE00 6.39
Dull Blue
#49759C
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5879BF #BF9E58
analogous
#58ACBF #5879BF #6B58BF
triadic
#5879BF #BF5879 #79BF58
tetradic
#5879BF #BF58AC #BF9E58 #58BF6B
square
#5879BF #BF58AC #BF9E58 #58BF6B
split-complementary
#5879BF #BF6B58 #ACBF58
monochromatic
#2B4271 #3C5B9D #5879BF #849DD0 #B0C0E1
Accessibility & contrast
On white
4.28
#5879BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#5879BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5879BF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5879BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5879BF | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#208893
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #5879bf; /* rgb */ color: rgb(88, 121, 191); /* oklch */ color: oklch(58.3% 0.115 264.0);
Tailwind
colors: {
custom: {
50: '#8e9fd2',
500: '#5879bf',
950: '#000000',
},
}SCSS
$custom: #5879bf; $custom-light: #8e9fd2; $custom-dark: #000000;
JSON
{
"hex": "#5879bf",
"rgb": {
"r": 88,
"g": 121,
"b": 191
},
"hsl": {
"h": 220.777,
"s": 44.589,
"l": 54.706
},
"oklch": {
"l": 0.58281,
"c": 0.11458,
"h": 264
},
"luminance": 0.19511
}Semantic roles & 50–950 ramp
primary
#5879BF
secondary
#CFC1A4
accent
#AB54D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82