#02002d
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 | #02002d | |
| RGB | rgb(2 0 45) | |
| HSL | hsl(242.67 100% 8.82%) | |
| OKLCH | oklch(0.14 0.09 268.8) | |
| CMYK | cmyk(95.56% 100% 0% 82.35%) | |
| Android | #ff02002d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
20.18:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.04: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="#02002d"
Gradient stop
<stop stop-color="#02002d"/>
CSS variable + fill
:root { --c: #02002d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #02002d; background-color: #02002d; bg-[#02002d]