#505ee7
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 | #505ee7 | |
| RGB | rgb(80 94 231) | |
| HSL | hsl(234.44 75.88% 60.98%) | |
| OKLCH | oklch(0.55 0.21 273.18) | |
| CMYK | cmyk(65.37% 59.31% 0% 9.41%) | |
| Android | #ff505ee7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.09: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="#505ee7"
Gradient stop
<stop stop-color="#505ee7"/>
CSS variable + fill
:root { --c: #505ee7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #505ee7; background-color: #505ee7; bg-[#505ee7]