#302243
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 | #302243 | |
| RGB | rgb(48 34 67) | |
| HSL | hsl(265.45 32.67% 19.8%) | |
| OKLCH | oklch(0.29 0.06 302.27) | |
| CMYK | cmyk(28.36% 49.25% 0% 73.73%) | |
| Android | #ff302243 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.43: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="#302243"
Gradient stop
<stop stop-color="#302243"/>
CSS variable + fill
:root { --c: #302243; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #302243; background-color: #302243; bg-[#302243]