#02011f
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 | #02011f | |
| RGB | rgb(2 1 31) | |
| HSL | hsl(242 93.75% 6.27%) | |
| OKLCH | oklch(0.12 0.07 272.02) | |
| CMYK | cmyk(93.55% 96.77% 0% 87.84%) | |
| Android | #ff02011f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
20.45:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.02: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="#02011f"
Gradient stop
<stop stop-color="#02011f"/>
CSS variable + fill
:root { --c: #02011f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #02011f; background-color: #02011f; bg-[#02011f]