#300092
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 | #300092 | |
| RGB | rgb(48 0 146) | |
| HSL | hsl(259.73 100% 28.63%) | |
| OKLCH | oklch(0.33 0.19 281.58) | |
| CMYK | cmyk(67.12% 100% 0% 42.75%) | |
| Android | #ff300092 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.54: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="#300092"
Gradient stop
<stop stop-color="#300092"/>
CSS variable + fill
:root { --c: #300092; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #300092; background-color: #300092; bg-[#300092]