#18334d
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 | #18334d | |
| RGB | rgb(24 51 77) | |
| HSL | hsl(209.43 52.48% 19.8%) | |
| OKLCH | oklch(0.31 0.06 249.32) | |
| CMYK | cmyk(68.83% 33.77% 0% 69.8%) | |
| Android | #ff18334d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.61: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="#18334d"
Gradient stop
<stop stop-color="#18334d"/>
CSS variable + fill
:root { --c: #18334d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #18334d; background-color: #18334d; bg-[#18334d]