#01397c
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 | #01397c | |
| RGB | rgb(1 57 124) | |
| HSL | hsl(212.68 98.4% 24.51%) | |
| OKLCH | oklch(0.36 0.13 257.09) | |
| CMYK | cmyk(99.19% 54.03% 0% 51.37%) | |
| Android | #ff01397c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.18:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.87: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="#01397c"
Gradient stop
<stop stop-color="#01397c"/>
CSS variable + fill
:root { --c: #01397c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #01397c; background-color: #01397c; bg-[#01397c]