#30247a
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 | #30247a | |
| RGB | rgb(48 36 122) | |
| HSL | hsl(248.37 54.43% 30.98%) | |
| OKLCH | oklch(0.33 0.14 282.17) | |
| CMYK | cmyk(60.66% 70.49% 0% 52.16%) | |
| Android | #ff30247a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.65: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="#30247a"
Gradient stop
<stop stop-color="#30247a"/>
CSS variable + fill
:root { --c: #30247a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #30247a; background-color: #30247a; bg-[#30247a]