#3974ba
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 | #3974ba | |
| RGB | rgb(57 116 186) | |
| HSL | hsl(212.56 53.09% 47.65%) | |
| OKLCH | oklch(0.55 0.13 254.25) | |
| CMYK | cmyk(69.35% 37.63% 0% 27.06%) | |
| Android | #ff3974ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.38: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="#3974ba"
Gradient stop
<stop stop-color="#3974ba"/>
CSS variable + fill
:root { --c: #3974ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3974ba; background-color: #3974ba; bg-[#3974ba]