#702fbd
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 | #702fbd | |
| RGB | rgb(112 47 189) | |
| HSL | hsl(267.46 60.17% 46.27%) | |
| OKLCH | oklch(0.48 0.21 299.04) | |
| CMYK | cmyk(40.74% 75.13% 0% 25.88%) | |
| Android | #ff702fbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.41:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.83: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="#702fbd"
Gradient stop
<stop stop-color="#702fbd"/>
CSS variable + fill
:root { --c: #702fbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #702fbd; background-color: #702fbd; bg-[#702fbd]