#6172bc
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 | #6172bc | |
| RGB | rgb(97 114 188) | |
| HSL | hsl(228.79 40.44% 55.88%) | |
| OKLCH | oklch(0.57 0.12 272.48) | |
| CMYK | cmyk(48.4% 39.36% 0% 26.27%) | |
| Android | #ff6172bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.64:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#6172bc"
Gradient stop
<stop stop-color="#6172bc"/>
CSS variable + fill
:root { --c: #6172bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6172bc; background-color: #6172bc; bg-[#6172bc]