#5787da
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 | #5787da | |
| RGB | rgb(87 135 218) | |
| HSL | hsl(218.02 63.9% 59.8%) | |
| OKLCH | oklch(0.63 0.14 260.69) | |
| CMYK | cmyk(60.09% 38.07% 0% 14.51%) | |
| Android | #ff5787da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.56:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.88: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="#5787da"
Gradient stop
<stop stop-color="#5787da"/>
CSS variable + fill
:root { --c: #5787da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5787da; background-color: #5787da; bg-[#5787da]