#22013f
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 | #22013f | |
| RGB | rgb(34 1 63) | |
| HSL | hsl(271.94 96.88% 12.55%) | |
| OKLCH | oklch(0.21 0.11 301.82) | |
| CMYK | cmyk(46.03% 98.41% 0% 75.29%) | |
| Android | #ff22013f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
18.35: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="#22013f"
Gradient stop
<stop stop-color="#22013f"/>
CSS variable + fill
:root { --c: #22013f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #22013f; background-color: #22013f; bg-[#22013f]