#4772cb
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 | #4772cb | |
| RGB | rgb(71 114 203) | |
| HSL | hsl(220.45 55.93% 53.73%) | |
| OKLCH | oklch(0.57 0.15 263.12) | |
| CMYK | cmyk(65.02% 43.84% 0% 20.39%) | |
| Android | #ff4772cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.53:1
Pass 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="#4772cb"
Gradient stop
<stop stop-color="#4772cb"/>
CSS variable + fill
:root { --c: #4772cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4772cb; background-color: #4772cb; bg-[#4772cb]