#12486d
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 | #12486d | |
| RGB | rgb(18 72 109) | |
| HSL | hsl(204.4 71.65% 24.9%) | |
| OKLCH | oklch(0.39 0.08 243.7) | |
| CMYK | cmyk(83.49% 33.94% 0% 57.25%) | |
| Android | #ff12486d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.17: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="#12486d"
Gradient stop
<stop stop-color="#12486d"/>
CSS variable + fill
:root { --c: #12486d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #12486d; background-color: #12486d; bg-[#12486d]