#5373ea
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 | #5373ea | |
| RGB | rgb(83 115 234) | |
| HSL | hsl(227.28 78.24% 62.16%) | |
| OKLCH | oklch(0.59 0.18 268.92) | |
| CMYK | cmyk(64.53% 50.85% 0% 8.24%) | |
| Android | #ff5373ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.00: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="#5373ea"
Gradient stop
<stop stop-color="#5373ea"/>
CSS variable + fill
:root { --c: #5373ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5373ea; background-color: #5373ea; bg-[#5373ea]