#372ec0
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 | #372ec0 | |
| RGB | rgb(55 46 192) | |
| HSL | hsl(243.7 61.34% 46.67%) | |
| OKLCH | oklch(0.42 0.22 274.89) | |
| CMYK | cmyk(71.35% 76.04% 0% 24.71%) | |
| Android | #ff372ec0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.31: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="#372ec0"
Gradient stop
<stop stop-color="#372ec0"/>
CSS variable + fill
:root { --c: #372ec0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #372ec0; background-color: #372ec0; bg-[#372ec0]