#5878EF#5878EF
#5878EF is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.1% C 0.182 H 269.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5878EF |
|---|---|
| RGB | rgb(88, 120, 239) |
| HSL | hsl(227, 83%, 64%) |
| HSV | hsv(227, 63%, 94%) |
| CMYK | cmyk(63.2%, 49.8%, 0%, 6.3%) |
| CIE-LAB | lab(53.75, 25.25, -63.51) |
| CIE-LCH | lch(53.75, 68.34, 291.68°) |
| OKLab | oklab(61.06% -0.0028 -0.182) |
| OKLCH | oklch(61.06% 0.182 269.1) |
| XYZ | xyz(26.3157, 21.7373, 84.4535) |
| Luminance | 0.2174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.11
Lightish Blue
#3D7AFD
ΔE00 3.19
Cornflower Blue
#5170D7
ΔE00 4.25
Clear Blue
#247AFD
ΔE00 4.84
Soft Blue
#6488EA
ΔE00 5.15
Dodger Blue
#3E82FC
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5878EF #EFCF58
analogous
#58C4EF #5878EF #8458EF
triadic
#5878EF #EF5878 #78EF58
tetradic
#5878EF #EF58C4 #EFCF58 #58EF84
square
#5878EF #EF58C4 #EFCF58 #58EF84
split-complementary
#5878EF #EF8458 #C4EF58
monochromatic
#1236BB #204BEA #5878EF #90A5F4 #C8D2FA
Accessibility & contrast
On white
3.93
#5878EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5878EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5878EF
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5878EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5878EF | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#027AED
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5878ef; /* rgb */ color: rgb(88, 120, 239); /* oklch */ color: oklch(61.1% 0.182 269.1);
Tailwind
colors: {
custom: {
50: '#959ef5',
500: '#5878ef',
950: '#000000',
},
}SCSS
$custom: #5878ef; $custom-light: #959ef5; $custom-dark: #000000;
JSON
{
"hex": "#5878ef",
"rgb": {
"r": 88,
"g": 120,
"b": 239
},
"hsl": {
"h": 227.285,
"s": 82.514,
"l": 64.118
},
"oklch": {
"l": 0.61058,
"c": 0.18204,
"h": 269.1
},
"luminance": 0.2174
}Semantic roles & 50–950 ramp
primary
#5878EF
secondary
#ECE1B7
accent
#B107DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85