#508bad
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 | #508bad | |
| RGB | rgb(80 139 173) | |
| HSL | hsl(201.94 36.76% 49.61%) | |
| OKLCH | oklch(0.61 0.08 235.46) | |
| CMYK | cmyk(53.76% 19.65% 0% 32.16%) | |
| Android | #ff508bad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.72:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.63: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="#508bad"
Gradient stop
<stop stop-color="#508bad"/>
CSS variable + fill
:root { --c: #508bad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #508bad; background-color: #508bad; bg-[#508bad]