#2008ad
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 | #2008ad | |
| RGB | rgb(32 8 173) | |
| HSL | hsl(248.73 91.16% 35.49%) | |
| OKLCH | oklch(0.35 0.22 270.82) | |
| CMYK | cmyk(81.5% 95.38% 0% 32.16%) | |
| Android | #ff2008ad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.35:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.69: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="#2008ad"
Gradient stop
<stop stop-color="#2008ad"/>
CSS variable + fill
:root { --c: #2008ad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2008ad; background-color: #2008ad; bg-[#2008ad]