#333352
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 | #333352 | |
| RGB | rgb(51 51 82) | |
| HSL | hsl(240 23.31% 26.08%) | |
| OKLCH | oklch(0.34 0.05 283.1) | |
| CMYK | cmyk(37.8% 37.8% 0% 67.84%) | |
| Android | #ff333352 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.73: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="#333352"
Gradient stop
<stop stop-color="#333352"/>
CSS variable + fill
:root { --c: #333352; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #333352; background-color: #333352; bg-[#333352]