#22014b
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 | #22014b | |
| RGB | rgb(34 1 75) | |
| HSL | hsl(266.76 97.37% 14.9%) | |
| OKLCH | oklch(0.22 0.12 294.7) | |
| CMYK | cmyk(54.67% 98.67% 0% 70.59%) | |
| Android | #ff22014b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
17.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.17: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="#22014b"
Gradient stop
<stop stop-color="#22014b"/>
CSS variable + fill
:root { --c: #22014b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #22014b; background-color: #22014b; bg-[#22014b]