#4a79ce
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 | #4a79ce | |
| RGB | rgb(74 121 206) | |
| HSL | hsl(218.64 57.39% 54.9%) | |
| OKLCH | oklch(0.58 0.14 261.3) | |
| CMYK | cmyk(64.08% 41.26% 0% 19.22%) | |
| Android | #ff4a79ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.27:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.91: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="#4a79ce"
Gradient stop
<stop stop-color="#4a79ce"/>
CSS variable + fill
:root { --c: #4a79ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4a79ce; background-color: #4a79ce; bg-[#4a79ce]