#393dd4
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 | #393dd4 | |
| RGB | rgb(57 61 212) | |
| HSL | hsl(238.45 64.32% 52.75%) | |
| OKLCH | oklch(0.47 0.22 272.51) | |
| CMYK | cmyk(73.11% 71.23% 0% 16.86%) | |
| Android | #ff393dd4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.79: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="#393dd4"
Gradient stop
<stop stop-color="#393dd4"/>
CSS variable + fill
:root { --c: #393dd4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #393dd4; background-color: #393dd4; bg-[#393dd4]