#507dec
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 | #507dec | |
| RGB | rgb(80 125 236) | |
| HSL | hsl(222.69 80.41% 61.96%) | |
| OKLCH | oklch(0.61 0.17 265.08) | |
| CMYK | cmyk(66.1% 47.03% 0% 7.45%) | |
| Android | #ff507dec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.82:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.48: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="#507dec"
Gradient stop
<stop stop-color="#507dec"/>
CSS variable + fill
:root { --c: #507dec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #507dec; background-color: #507dec; bg-[#507dec]