#162e4a
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 | #162e4a | |
| RGB | rgb(22 46 74) | |
| HSL | hsl(212.31 54.17% 18.82%) | |
| OKLCH | oklch(0.3 0.06 253.56) | |
| CMYK | cmyk(70.27% 37.84% 0% 70.98%) | |
| Android | #ff162e4a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.52: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="#162e4a"
Gradient stop
<stop stop-color="#162e4a"/>
CSS variable + fill
:root { --c: #162e4a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #162e4a; background-color: #162e4a; bg-[#162e4a]