#3c248d
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 | #3c248d | |
| RGB | rgb(60 36 141) | |
| HSL | hsl(253.71 59.32% 34.71%) | |
| OKLCH | oklch(0.36 0.16 285.56) | |
| CMYK | cmyk(57.45% 74.47% 0% 44.71%) | |
| Android | #ff3c248d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.82: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="#3c248d"
Gradient stop
<stop stop-color="#3c248d"/>
CSS variable + fill
:root { --c: #3c248d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3c248d; background-color: #3c248d; bg-[#3c248d]