#4c8ecb
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 | #4c8ecb | |
| RGB | rgb(76 142 203) | |
| HSL | hsl(208.82 54.98% 54.71%) | |
| OKLCH | oklch(0.63 0.11 248.4) | |
| CMYK | cmyk(62.56% 30.05% 0% 20.39%) | |
| Android | #ff4c8ecb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.03: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="#4c8ecb"
Gradient stop
<stop stop-color="#4c8ecb"/>
CSS variable + fill
:root { --c: #4c8ecb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4c8ecb; background-color: #4c8ecb; bg-[#4c8ecb]