#04036b
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 | #04036b | |
| RGB | rgb(4 3 107) | |
| HSL | hsl(240.58 94.55% 21.57%) | |
| OKLCH | oklch(0.24 0.16 265.84) | |
| CMYK | cmyk(96.26% 97.2% 0% 58.04%) | |
| Android | #ff04036b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
17.06:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.23: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="#04036b"
Gradient stop
<stop stop-color="#04036b"/>
CSS variable + fill
:root { --c: #04036b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #04036b; background-color: #04036b; bg-[#04036b]