#5722cb
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 | #5722cb | |
| RGB | rgb(87 34 203) | |
| HSL | hsl(258.82 71.31% 46.47%) | |
| OKLCH | oklch(0.45 0.23 286.86) | |
| CMYK | cmyk(57.14% 83.25% 0% 20.39%) | |
| Android | #ff5722cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.41:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.49: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="#5722cb"
Gradient stop
<stop stop-color="#5722cb"/>
CSS variable + fill
:root { --c: #5722cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5722cb; background-color: #5722cb; bg-[#5722cb]