#07315e
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 | #07315e | |
| RGB | rgb(7 49 94) | |
| HSL | hsl(211.03 86.14% 19.8%) | |
| OKLCH | oklch(0.31 0.09 254.2) | |
| CMYK | cmyk(92.55% 47.87% 0% 63.14%) | |
| Android | #ff07315e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.60: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="#07315e"
Gradient stop
<stop stop-color="#07315e"/>
CSS variable + fill
:root { --c: #07315e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #07315e; background-color: #07315e; bg-[#07315e]