#5879F2#5879F2
#5879F2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.185 H 268.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5879F2 |
|---|---|
| RGB | rgb(88, 121, 242) |
| HSL | hsl(227, 86%, 65%) |
| HSV | hsv(227, 64%, 95%) |
| CMYK | cmyk(63.6%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(54.19, 25.65, -64.46) |
| CIE-LCH | lch(54.19, 69.37, 291.70°) |
| OKLab | oklab(61.46% -0.0035 -0.1848) |
| OKLCH | oklch(61.46% 0.185 268.9) |
| XYZ | xyz(26.8834, 22.1578, 86.8473) |
| Luminance | 0.2216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.99
Lightish Blue
#3D7AFD
ΔE00 2.99
Clear Blue
#247AFD
ΔE00 4.72
Cornflower Blue
#5170D7
ΔE00 4.73
Soft Blue
#6488EA
ΔE00 4.86
Dodger Blue
#3E82FC
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5879F2 #F2D158
analogous
#58C6F2 #5879F2 #8458F2
triadic
#5879F2 #F25879 #79F258
tetradic
#5879F2 #F258C6 #F2D158 #58F284
square
#5879F2 #F258C6 #F2D158 #58F284
split-complementary
#5879F2 #F28458 #C6F258
monochromatic
#0F35C1 #1F4BEE #5879F2 #91A7F6 #CAD4FB
Accessibility & contrast
On white
3.87
#5879F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#5879F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5879F2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5879F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5879F2 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5879f2; /* rgb */ color: rgb(88, 121, 242); /* oklch */ color: oklch(61.5% 0.185 268.9);
Tailwind
colors: {
custom: {
50: '#969ff7',
500: '#5879f2',
950: '#000000',
},
}SCSS
$custom: #5879f2; $custom-light: #969ff7; $custom-dark: #000000;
JSON
{
"hex": "#5879f2",
"rgb": {
"r": 88,
"g": 121,
"b": 242
},
"hsl": {
"h": 227.143,
"s": 85.556,
"l": 64.706
},
"oklch": {
"l": 0.61458,
"c": 0.18483,
"h": 268.9
},
"luminance": 0.2216
}Semantic roles & 50–950 ramp
primary
#5879F2
secondary
#EDE2B8
accent
#B203E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85