#21082f
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 | #21082f | |
| RGB | rgb(33 8 47) | |
| HSL | hsl(278.46 70.91% 10.78%) | |
| OKLCH | oklch(0.2 0.08 310.79) | |
| CMYK | cmyk(29.79% 82.98% 0% 81.57%) | |
| Android | #ff21082f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
18.41:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.14: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="#21082f"
Gradient stop
<stop stop-color="#21082f"/>
CSS variable + fill
:root { --c: #21082f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #21082f; background-color: #21082f; bg-[#21082f]