#3937d5
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 | #3937d5 | |
| RGB | rgb(57 55 213) | |
| HSL | hsl(240.76 65.29% 52.55%) | |
| OKLCH | oklch(0.46 0.23 273.1) | |
| CMYK | cmyk(73.24% 74.18% 0% 16.47%) | |
| Android | #ff3937d5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.83:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.68: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="#3937d5"
Gradient stop
<stop stop-color="#3937d5"/>
CSS variable + fill
:root { --c: #3937d5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3937d5; background-color: #3937d5; bg-[#3937d5]