#02011b
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 | #02011b | |
| RGB | rgb(2 1 27) | |
| HSL | hsl(242.31 92.86% 5.49%) | |
| OKLCH | oklch(0.11 0.06 273.54) | |
| CMYK | cmyk(92.59% 96.3% 0% 89.41%) | |
| Android | #ff02011b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
20.53: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="#02011b"
Gradient stop
<stop stop-color="#02011b"/>
CSS variable + fill
:root { --c: #02011b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #02011b; background-color: #02011b; bg-[#02011b]