#587ef7
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 | #587ef7 | |
| RGB | rgb(88 126 247) | |
| HSL | hsl(225.66 90.86% 65.69%) | |
| OKLCH | oklch(0.63 0.19 267.68) | |
| CMYK | cmyk(64.37% 48.99% 0% 3.14%) | |
| Android | #ff587ef7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.65:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.74: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="#587ef7"
Gradient stop
<stop stop-color="#587ef7"/>
CSS variable + fill
:root { --c: #587ef7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #587ef7; background-color: #587ef7; bg-[#587ef7]