#6980eb
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 | #6980eb | |
| RGB | rgb(105 128 235) | |
| HSL | hsl(229.38 76.47% 66.67%) | |
| OKLCH | oklch(0.63 0.16 271.92) | |
| CMYK | cmyk(55.32% 45.53% 0% 7.84%) | |
| Android | #ff6980eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.56:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.88: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="#6980eb"
Gradient stop
<stop stop-color="#6980eb"/>
CSS variable + fill
:root { --c: #6980eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6980eb; background-color: #6980eb; bg-[#6980eb]