#171aae
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 | #171aae | |
| RGB | rgb(23 26 174) | |
| HSL | hsl(238.81 76.65% 38.63%) | |
| OKLCH | oklch(0.36 0.22 267.91) | |
| CMYK | cmyk(86.78% 85.06% 0% 31.76%) | |
| Android | #ff171aae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.79: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="#171aae"
Gradient stop
<stop stop-color="#171aae"/>
CSS variable + fill
:root { --c: #171aae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #171aae; background-color: #171aae; bg-[#171aae]