#030c84
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 | #030c84 | |
| RGB | rgb(3 12 132) | |
| HSL | hsl(235.81 95.56% 26.47%) | |
| OKLCH | oklch(0.29 0.18 264.99) | |
| CMYK | cmyk(97.73% 90.91% 0% 48.24%) | |
| Android | #ff030c84 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.38: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="#030c84"
Gradient stop
<stop stop-color="#030c84"/>
CSS variable + fill
:root { --c: #030c84; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #030c84; background-color: #030c84; bg-[#030c84]