#508ebe
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 | #508ebe | |
| RGB | rgb(80 142 190) | |
| HSL | hsl(206.18 45.83% 52.94%) | |
| OKLCH | oklch(0.63 0.1 243.61) | |
| CMYK | cmyk(57.89% 25.26% 0% 25.49%) | |
| Android | #ff508ebe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.52:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.95: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="#508ebe"
Gradient stop
<stop stop-color="#508ebe"/>
CSS variable + fill
:root { --c: #508ebe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #508ebe; background-color: #508ebe; bg-[#508ebe]