#5876fc
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #5876fc | |
| RGB | rgb(88 118 252) | |
| HSL | hsl(229.02 96.47% 66.67%) | |
| OKLCH | oklch(0.62 0.2 269.99) | |
| CMYK | cmyk(65.08% 53.17% 0% 1.18%) | |
| Android | #ff5876fc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.88:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.41:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#5876fc"
Gradient stop
<stop stop-color="#5876fc"/>
CSS variable + fill
:root { --c: #5876fc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5876fc; background-color: #5876fc; bg-[#5876fc]