#08406c
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 | #08406c | |
| RGB | rgb(8 64 108) | |
| HSL | hsl(206.4 86.21% 22.75%) | |
| OKLCH | oklch(0.36 0.09 248.6) | |
| CMYK | cmyk(92.59% 40.74% 0% 57.65%) | |
| Android | #ff08406c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.96: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="#08406c"
Gradient stop
<stop stop-color="#08406c"/>
CSS variable + fill
:root { --c: #08406c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #08406c; background-color: #08406c; bg-[#08406c]