#5836cd
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 | #5836cd | |
| RGB | rgb(88 54 205) | |
| HSL | hsl(253.51 60.16% 50.78%) | |
| OKLCH | oklch(0.47 0.22 284.89) | |
| CMYK | cmyk(57.07% 73.66% 0% 19.61%) | |
| Android | #ff5836cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.43:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.82: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="#5836cd"
Gradient stop
<stop stop-color="#5836cd"/>
CSS variable + fill
:root { --c: #5836cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5836cd; background-color: #5836cd; bg-[#5836cd]