#5878F1#5878F1
#5878F1 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.185 H 269.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5878F1 |
|---|---|
| RGB | rgb(88, 120, 241) |
| HSL | hsl(227, 85%, 65%) |
| HSV | hsv(227, 63%, 95%) |
| CMYK | cmyk(63.5%, 50.2%, 0%, 5.5%) |
| CIE-LAB | lab(53.87, 25.92, -64.41) |
| CIE-LCH | lch(53.87, 69.44, 291.92°) |
| OKLab | oklab(61.2% -0.0026 -0.1847) |
| OKLCH | oklch(61.2% 0.185 269.2) |
| XYZ | xyz(26.6128, 21.8561, 86.0182) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.97
Lightish Blue
#3D7AFD
ΔE00 3.16
Cornflower Blue
#5170D7
ΔE00 4.44
Clear Blue
#247AFD
ΔE00 4.85
Dodger Blue
#3E82FC
ΔE00 5.16
Soft Blue
#6488EA
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5878F1 #F1D158
analogous
#58C5F1 #5878F1 #8558F1
triadic
#5878F1 #F15878 #78F158
tetradic
#5878F1 #F158C5 #F1D158 #58F185
square
#5878F1 #F158C5 #F1D158 #58F185
split-complementary
#5878F1 #F18558 #C5F158
monochromatic
#1035BF #204AEC #5878F1 #90A6F6 #C9D3FA
Accessibility & contrast
On white
3.91
#5878F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#5878F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5878F1
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5878F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5878F1 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3288F5
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5878f1; /* rgb */ color: rgb(88, 120, 241); /* oklch */ color: oklch(61.2% 0.185 269.2);
Tailwind
colors: {
custom: {
50: '#959ef6',
500: '#5878f1',
950: '#000000',
},
}SCSS
$custom: #5878f1; $custom-light: #959ef6; $custom-dark: #000000;
JSON
{
"hex": "#5878f1",
"rgb": {
"r": 88,
"g": 120,
"b": 241
},
"hsl": {
"h": 227.451,
"s": 84.53,
"l": 64.51
},
"oklch": {
"l": 0.61195,
"c": 0.18471,
"h": 269.2
},
"luminance": 0.21859
}Semantic roles & 50–950 ramp
primary
#5878F1
secondary
#EDE2B8
accent
#B305E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85