#030f2f
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 | #030f2f | |
| RGB | rgb(3 15 47) | |
| HSL | hsl(223.64 88% 9.8%) | |
| OKLCH | oklch(0.18 0.07 263.06) | |
| CMYK | cmyk(93.62% 68.09% 0% 81.57%) | |
| Android | #ff030f2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
18.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.11: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="#030f2f"
Gradient stop
<stop stop-color="#030f2f"/>
CSS variable + fill
:root { --c: #030f2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #030f2f; background-color: #030f2f; bg-[#030f2f]