#321a8e
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 | #321a8e | |
| RGB | rgb(50 26 142) | |
| HSL | hsl(252.41 69.05% 32.94%) | |
| OKLCH | oklch(0.34 0.17 281.46) | |
| CMYK | cmyk(64.79% 81.69% 0% 44.31%) | |
| Android | #ff321a8e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.67: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="#321a8e"
Gradient stop
<stop stop-color="#321a8e"/>
CSS variable + fill
:root { --c: #321a8e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #321a8e; background-color: #321a8e; bg-[#321a8e]