#3971cc
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 | #3971cc | |
| RGB | rgb(57 113 204) | |
| HSL | hsl(217.14 59.04% 51.18%) | |
| OKLCH | oklch(0.56 0.15 259.67) | |
| CMYK | cmyk(72.06% 44.61% 0% 20%) | |
| Android | #ff3971cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.40:1
Fail AA normal text
Pass 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="#3971cc"
Gradient stop
<stop stop-color="#3971cc"/>
CSS variable + fill
:root { --c: #3971cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3971cc; background-color: #3971cc; bg-[#3971cc]