#5351be
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 | #5351be | |
| RGB | rgb(83 81 190) | |
| HSL | hsl(241.1 45.61% 53.14%) | |
| OKLCH | oklch(0.5 0.17 279.3) | |
| CMYK | cmyk(56.32% 57.37% 0% 25.49%) | |
| Android | #ff5351be |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.38:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.28:1
Fail AA normal text
Pass 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="#5351be"
Gradient stop
<stop stop-color="#5351be"/>
CSS variable + fill
:root { --c: #5351be; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5351be; background-color: #5351be; bg-[#5351be]