#396ef7
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 | #396ef7 | |
| RGB | rgb(57 110 247) | |
| HSL | hsl(223.26 92.23% 59.61%) | |
| OKLCH | oklch(0.58 0.21 264.57) | |
| CMYK | cmyk(76.92% 55.47% 0% 3.14%) | |
| Android | #ff396ef7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.74:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#396ef7"
Gradient stop
<stop stop-color="#396ef7"/>
CSS variable + fill
:root { --c: #396ef7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #396ef7; background-color: #396ef7; bg-[#396ef7]