#508eaf
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 | #508eaf | |
| RGB | rgb(80 142 175) | |
| HSL | hsl(200.84 37.25% 50%) | |
| OKLCH | oklch(0.62 0.08 233.44) | |
| CMYK | cmyk(54.29% 18.86% 0% 31.37%) | |
| Android | #ff508eaf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.60:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.82: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="#508eaf"
Gradient stop
<stop stop-color="#508eaf"/>
CSS variable + fill
:root { --c: #508eaf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #508eaf; background-color: #508eaf; bg-[#508eaf]