#380dbd
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 | #380dbd | |
| RGB | rgb(56 13 189) | |
| HSL | hsl(254.66 87.13% 39.61%) | |
| OKLCH | oklch(0.39 0.23 277.7) | |
| CMYK | cmyk(70.37% 93.12% 0% 25.88%) | |
| Android | #ff380dbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.96: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="#380dbd"
Gradient stop
<stop stop-color="#380dbd"/>
CSS variable + fill
:root { --c: #380dbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #380dbd; background-color: #380dbd; bg-[#380dbd]