#571fcc
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 | #571fcc | |
| RGB | rgb(87 31 204) | |
| HSL | hsl(259.42 73.62% 46.08%) | |
| OKLCH | oklch(0.45 0.23 286.91) | |
| CMYK | cmyk(57.35% 84.8% 0% 20%) | |
| Android | #ff571fcc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.47:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#571fcc"
Gradient stop
<stop stop-color="#571fcc"/>
CSS variable + fill
:root { --c: #571fcc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #571fcc; background-color: #571fcc; bg-[#571fcc]