#1987da
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 | #1987da | |
| RGB | rgb(25 135 218) | |
| HSL | hsl(205.8 79.42% 47.65%) | |
| OKLCH | oklch(0.61 0.16 248.07) | |
| CMYK | cmyk(88.53% 38.07% 0% 14.51%) | |
| Android | #ff1987da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.80:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.51: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="#1987da"
Gradient stop
<stop stop-color="#1987da"/>
CSS variable + fill
:root { --c: #1987da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1987da; background-color: #1987da; bg-[#1987da]