#1897dd
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 | #1897dd | |
| RGB | rgb(24 151 221) | |
| HSL | hsl(201.32 80.41% 48.04%) | |
| OKLCH | oklch(0.65 0.14 240.92) | |
| CMYK | cmyk(89.14% 31.67% 0% 13.33%) | |
| Android | #ff1897dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.22:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.50: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="#1897dd"
Gradient stop
<stop stop-color="#1897dd"/>
CSS variable + fill
:root { --c: #1897dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1897dd; background-color: #1897dd; bg-[#1897dd]