#4d80ab
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 | #4d80ab | |
| RGB | rgb(77 128 171) | |
| HSL | hsl(207.45 37.9% 48.63%) | |
| OKLCH | oklch(0.58 0.09 245.46) | |
| CMYK | cmyk(54.97% 25.15% 0% 32.94%) | |
| Android | #ff4d80ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.20:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.99: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="#4d80ab"
Gradient stop
<stop stop-color="#4d80ab"/>
CSS variable + fill
:root { --c: #4d80ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4d80ab; background-color: #4d80ab; bg-[#4d80ab]