#4874cc
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 | #4874cc | |
| RGB | rgb(72 116 204) | |
| HSL | hsl(220 56.41% 54.12%) | |
| OKLCH | oklch(0.57 0.14 262.69) | |
| CMYK | cmyk(64.71% 43.14% 0% 20%) | |
| Android | #ff4874cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.64: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="#4874cc"
Gradient stop
<stop stop-color="#4874cc"/>
CSS variable + fill
:root { --c: #4874cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4874cc; background-color: #4874cc; bg-[#4874cc]