#321aac
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 | #321aac | |
| RGB | rgb(50 26 172) | |
| HSL | hsl(249.86 73.74% 38.82%) | |
| OKLCH | oklch(0.38 0.21 276.87) | |
| CMYK | cmyk(70.93% 84.88% 0% 32.55%) | |
| Android | #ff321aac |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.87: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="#321aac"
Gradient stop
<stop stop-color="#321aac"/>
CSS variable + fill
:root { --c: #321aac; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #321aac; background-color: #321aac; bg-[#321aac]