#587af2
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 | #587af2 | |
| RGB | rgb(88 122 242) | |
| HSL | hsl(226.75 85.56% 64.71%) | |
| OKLCH | oklch(0.62 0.18 268.63) | |
| CMYK | cmyk(63.64% 49.59% 0% 5.1%) | |
| Android | #ff587af2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.83:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.48: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="#587af2"
Gradient stop
<stop stop-color="#587af2"/>
CSS variable + fill
:root { --c: #587af2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #587af2; background-color: #587af2; bg-[#587af2]