#390ecd
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 | #390ecd | |
| RGB | rgb(57 14 205) | |
| HSL | hsl(253.51 87.21% 42.94%) | |
| OKLCH | oklch(0.41 0.25 276.13) | |
| CMYK | cmyk(72.2% 93.17% 0% 19.61%) | |
| Android | #ff390ecd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.11: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="#390ecd"
Gradient stop
<stop stop-color="#390ecd"/>
CSS variable + fill
:root { --c: #390ecd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #390ecd; background-color: #390ecd; bg-[#390ecd]