#4c7dcf
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 | #4c7dcf | |
| RGB | rgb(76 125 207) | |
| HSL | hsl(217.56 57.71% 55.49%) | |
| OKLCH | oklch(0.59 0.14 260.12) | |
| CMYK | cmyk(63.29% 39.61% 0% 18.82%) | |
| Android | #ff4c7dcf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.08:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.14: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="#4c7dcf"
Gradient stop
<stop stop-color="#4c7dcf"/>
CSS variable + fill
:root { --c: #4c7dcf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4c7dcf; background-color: #4c7dcf; bg-[#4c7dcf]