#173142
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 | #173142 | |
| RGB | rgb(23 49 66) | |
| HSL | hsl(203.72 48.31% 17.45%) | |
| OKLCH | oklch(0.3 0.04 239.24) | |
| CMYK | cmyk(65.15% 25.76% 0% 74.12%) | |
| Android | #ff173142 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.55: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="#173142"
Gradient stop
<stop stop-color="#173142"/>
CSS variable + fill
:root { --c: #173142; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #173142; background-color: #173142; bg-[#173142]