#302c5d
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 | #302c5d | |
| RGB | rgb(48 44 93) | |
| HSL | hsl(244.9 35.77% 26.86%) | |
| OKLCH | oklch(0.32 0.08 284.35) | |
| CMYK | cmyk(48.39% 52.69% 0% 63.53%) | |
| Android | #ff302c5d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.64: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="#302c5d"
Gradient stop
<stop stop-color="#302c5d"/>
CSS variable + fill
:root { --c: #302c5d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #302c5d; background-color: #302c5d; bg-[#302c5d]