#1979fd
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 | #1979fd | |
| RGB | rgb(25 121 253) | |
| HSL | hsl(214.74 98.28% 54.51%) | |
| OKLCH | oklch(0.6 0.21 258.65) | |
| CMYK | cmyk(90.12% 52.17% 0% 0.78%) | |
| Android | #ff1979fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.04:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.19: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="#1979fd"
Gradient stop
<stop stop-color="#1979fd"/>
CSS variable + fill
:root { --c: #1979fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1979fd; background-color: #1979fd; bg-[#1979fd]