#1978df
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 | #1978df | |
| RGB | rgb(25 120 223) | |
| HSL | hsl(211.21 79.84% 48.63%) | |
| OKLCH | oklch(0.58 0.18 255.01) | |
| CMYK | cmyk(88.79% 46.19% 0% 12.55%) | |
| Android | #ff1978df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.79: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="#1978df"
Gradient stop
<stop stop-color="#1978df"/>
CSS variable + fill
:root { --c: #1978df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1978df; background-color: #1978df; bg-[#1978df]