#3541cc
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 | #3541cc | |
| RGB | rgb(53 65 204) | |
| HSL | hsl(235.23 59.68% 50.39%) | |
| OKLCH | oklch(0.46 0.21 271.21) | |
| CMYK | cmyk(74.02% 68.14% 0% 20%) | |
| Android | #ff3541cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.77: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="#3541cc"
Gradient stop
<stop stop-color="#3541cc"/>
CSS variable + fill
:root { --c: #3541cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3541cc; background-color: #3541cc; bg-[#3541cc]