#4873cb
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 | #4873cb | |
| RGB | rgb(72 115 203) | |
| HSL | hsl(220.31 55.74% 53.92%) | |
| OKLCH | oklch(0.57 0.14 263) | |
| CMYK | cmyk(64.53% 43.35% 0% 20.39%) | |
| Android | #ff4873cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.59: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="#4873cb"
Gradient stop
<stop stop-color="#4873cb"/>
CSS variable + fill
:root { --c: #4873cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4873cb; background-color: #4873cb; bg-[#4873cb]