#508fe4
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 | #508fe4 | |
| RGB | rgb(80 143 228) | |
| HSL | hsl(214.46 73.27% 60.39%) | |
| OKLCH | oklch(0.65 0.14 256.48) | |
| CMYK | cmyk(64.91% 37.28% 0% 10.59%) | |
| Android | #ff508fe4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.39: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="#508fe4"
Gradient stop
<stop stop-color="#508fe4"/>
CSS variable + fill
:root { --c: #508fe4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #508fe4; background-color: #508fe4; bg-[#508fe4]