#3974ca
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 | #3974ca | |
| RGB | rgb(57 116 202) | |
| HSL | hsl(215.59 57.77% 50.78%) | |
| OKLCH | oklch(0.56 0.15 258.01) | |
| CMYK | cmyk(71.78% 42.57% 0% 20.78%) | |
| Android | #ff3974ca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass 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="#3974ca"
Gradient stop
<stop stop-color="#3974ca"/>
CSS variable + fill
:root { --c: #3974ca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3974ca; background-color: #3974ca; bg-[#3974ca]