#6178ff
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 | #6178ff | |
| RGB | rgb(97 120 255) | |
| HSL | hsl(231.27 100% 69.02%) | |
| OKLCH | oklch(0.63 0.2 272.05) | |
| CMYK | cmyk(61.96% 52.94% 0% 0%) | |
| Android | #ff6178ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.72:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.63: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="#6178ff"
Gradient stop
<stop stop-color="#6178ff"/>
CSS variable + fill
:root { --c: #6178ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6178ff; background-color: #6178ff; bg-[#6178ff]