#2f2cde
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 | #2f2cde | |
| RGB | rgb(47 44 222) | |
| HSL | hsl(241.01 72.95% 52.16%) | |
| OKLCH | oklch(0.45 0.25 270.73) | |
| CMYK | cmyk(78.83% 80.18% 0% 12.94%) | |
| Android | #ff2f2cde |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.53: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="#2f2cde"
Gradient stop
<stop stop-color="#2f2cde"/>
CSS variable + fill
:root { --c: #2f2cde; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2f2cde; background-color: #2f2cde; bg-[#2f2cde]