#3e5576
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 | #3e5576 | |
| RGB | rgb(62 85 118) | |
| HSL | hsl(215.36 31.11% 35.29%) | |
| OKLCH | oklch(0.45 0.06 257.39) | |
| CMYK | cmyk(47.46% 27.97% 0% 53.73%) | |
| Android | #ff3e5576 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.76:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#3e5576"
Gradient stop
<stop stop-color="#3e5576"/>
CSS variable + fill
:root { --c: #3e5576; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3e5576; background-color: #3e5576; bg-[#3e5576]