#1802cf
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 | #1802cf | |
| RGB | rgb(24 2 207) | |
| HSL | hsl(246.44 98.09% 40.98%) | |
| OKLCH | oklch(0.39 0.26 267.12) | |
| CMYK | cmyk(88.41% 99.03% 0% 18.82%) | |
| Android | #ff1802cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.94:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#1802cf"
Gradient stop
<stop stop-color="#1802cf"/>
CSS variable + fill
:root { --c: #1802cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1802cf; background-color: #1802cf; bg-[#1802cf]