#4c72ae
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 | #4c72ae | |
| RGB | rgb(76 114 174) | |
| HSL | hsl(216.73 39.2% 49.02%) | |
| OKLCH | oklch(0.55 0.1 259.21) | |
| CMYK | cmyk(56.32% 34.48% 0% 31.76%) | |
| Android | #ff4c72ae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.32:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#4c72ae"
Gradient stop
<stop stop-color="#4c72ae"/>
CSS variable + fill
:root { --c: #4c72ae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4c72ae; background-color: #4c72ae; bg-[#4c72ae]