#02416f
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 | #02416f | |
| RGB | rgb(2 65 111) | |
| HSL | hsl(205.32 96.46% 22.16%) | |
| OKLCH | oklch(0.37 0.1 248.1) | |
| CMYK | cmyk(98.2% 41.44% 0% 56.47%) | |
| Android | #ff02416f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.98: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="#02416f"
Gradient stop
<stop stop-color="#02416f"/>
CSS variable + fill
:root { --c: #02416f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #02416f; background-color: #02416f; bg-[#02416f]