#5879F3#5879F3
#5879F3 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.186 H 269.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5879F3 |
|---|---|
| RGB | rgb(88, 121, 243) |
| HSL | hsl(227, 87%, 65%) |
| HSV | hsv(227, 64%, 95%) |
| CMYK | cmyk(63.8%, 50.2%, 0%, 4.7%) |
| CIE-LAB | lab(54.26, 25.99, -64.91) |
| CIE-LCH | lch(54.26, 69.92, 291.82°) |
| OKLab | oklab(61.53% -0.0034 -0.1861) |
| OKLCH | oklch(61.53% 0.186 269) |
| XYZ | xyz(27.0340, 22.2181, 87.6405) |
| Luminance | 0.2222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.93
Lightish Blue
#3D7AFD
ΔE00 2.98
Clear Blue
#247AFD
ΔE00 4.73
Cornflower Blue
#5170D7
ΔE00 4.82
Soft Blue
#6488EA
ΔE00 4.87
Dodger Blue
#3E82FC
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5879F3 #F3D258
analogous
#58C6F3 #5879F3 #8558F3
triadic
#5879F3 #F35879 #79F358
tetradic
#5879F3 #F358C6 #F3D258 #58F385
square
#5879F3 #F358C6 #F3D258 #58F385
split-complementary
#5879F3 #F38558 #C6F358
monochromatic
#0E34C3 #1F4BEF #5879F3 #91A7F7 #CAD5FB
Accessibility & contrast
On white
3.86
#5879F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#5879F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5879F3
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5879F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5879F3 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5879f3; /* rgb */ color: rgb(88, 121, 243); /* oklch */ color: oklch(61.5% 0.186 269.0);
Tailwind
colors: {
custom: {
50: '#969ff8',
500: '#5879f3',
950: '#000000',
},
}SCSS
$custom: #5879f3; $custom-light: #969ff8; $custom-dark: #000000;
JSON
{
"hex": "#5879f3",
"rgb": {
"r": 88,
"g": 121,
"b": 243
},
"hsl": {
"h": 227.226,
"s": 86.592,
"l": 64.902
},
"oklch": {
"l": 0.61526,
"c": 0.18616,
"h": 269
},
"luminance": 0.22221
}Semantic roles & 50–950 ramp
primary
#5879F3
secondary
#EEE3B9
accent
#B302E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85