#508ebd
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 | #508ebd | |
| RGB | rgb(80 142 189) | |
| HSL | hsl(205.87 45.23% 52.75%) | |
| OKLCH | oklch(0.62 0.1 243.05) | |
| CMYK | cmyk(57.67% 24.87% 0% 25.88%) | |
| Android | #ff508ebd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.53:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.94: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="#508ebd"
Gradient stop
<stop stop-color="#508ebd"/>
CSS variable + fill
:root { --c: #508ebd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #508ebd; background-color: #508ebd; bg-[#508ebd]