#5878F9#5878F9
#5878F9 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.8% C 0.195 H 269.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5878F9 |
|---|---|
| RGB | rgb(88, 120, 249) |
| HSL | hsl(228, 93%, 66%) |
| HSV | hsv(228, 65%, 98%) |
| CMYK | cmyk(64.7%, 51.8%, 0%, 2.4%) |
| CIE-LAB | lab(54.39, 28.63, -68.02) |
| CIE-LCH | lch(54.39, 73.80, 292.82°) |
| OKLab | oklab(61.75% -0.002 -0.1953) |
| OKLCH | oklch(61.75% 0.195 269.4) |
| XYZ | xyz(27.8340, 22.3446, 92.4503) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.57
Lightish Blue
#3D7AFD
ΔE00 3.22
Clear Blue
#247AFD
ΔE00 5.04
Dodger Blue
#3E82FC
ΔE00 5.23
Cornflower Blue
#5170D7
ΔE00 5.26
Soft Blue
#6488EA
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5878F9 #F9D958
analogous
#58C8F9 #5878F9 #8858F9
triadic
#5878F9 #F95878 #78F958
tetradic
#5878F9 #F958C8 #F9D958 #58F988
square
#5878F9 #F958C8 #F9D958 #58F988
split-complementary
#5878F9 #F98858 #C8F958
monochromatic
#072FCF #1D48F7 #5878F9 #93A8FB #CED8FD
Accessibility & contrast
On white
3.84
#5878F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#5878F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5878F9
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5878F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5878F9 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#258AFE
Deuteranopia (green-blind)
#007BF6
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5878f9; /* rgb */ color: rgb(88, 120, 249); /* oklch */ color: oklch(61.8% 0.195 269.4);
Tailwind
colors: {
custom: {
50: '#979efc',
500: '#5878f9',
950: '#000000',
},
}SCSS
$custom: #5878f9; $custom-light: #979efc; $custom-dark: #000000;
JSON
{
"hex": "#5878f9",
"rgb": {
"r": 88,
"g": 120,
"b": 249
},
"hsl": {
"h": 228.075,
"s": 93.064,
"l": 66.078
},
"oklch": {
"l": 0.61751,
"c": 0.19532,
"h": 269.4
},
"luminance": 0.22347
}Semantic roles & 50–950 ramp
primary
#5878F9
secondary
#F1E6BC
accent
#B800E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86