#180281
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 | #180281 | |
| RGB | rgb(24 2 129) | |
| HSL | hsl(250.39 96.95% 25.69%) | |
| OKLCH | oklch(0.29 0.18 272.13) | |
| CMYK | cmyk(81.4% 98.45% 0% 49.41%) | |
| Android | #ff180281 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.39:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.36: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="#180281"
Gradient stop
<stop stop-color="#180281"/>
CSS variable + fill
:root { --c: #180281; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #180281; background-color: #180281; bg-[#180281]