#3949c5
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 | #3949c5 | |
| RGB | rgb(57 73 197) | |
| HSL | hsl(233.14 55.12% 49.8%) | |
| OKLCH | oklch(0.47 0.19 271.23) | |
| CMYK | cmyk(71.07% 62.94% 0% 22.75%) | |
| Android | #ff3949c5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.93: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="#3949c5"
Gradient stop
<stop stop-color="#3949c5"/>
CSS variable + fill
:root { --c: #3949c5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3949c5; background-color: #3949c5; bg-[#3949c5]