#5183ea
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 | #5183ea | |
| RGB | rgb(81 131 234) | |
| HSL | hsl(220.39 78.46% 61.76%) | |
| OKLCH | oklch(0.63 0.16 263.02) | |
| CMYK | cmyk(65.38% 44.02% 0% 8.24%) | |
| Android | #ff5183ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.63:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.78: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="#5183ea"
Gradient stop
<stop stop-color="#5183ea"/>
CSS variable + fill
:root { --c: #5183ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5183ea; background-color: #5183ea; bg-[#5183ea]