#0c16cb
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 | #0c16cb | |
| RGB | rgb(12 22 203) | |
| HSL | hsl(236.86 88.84% 42.16%) | |
| OKLCH | oklch(0.39 0.25 265.42) | |
| CMYK | cmyk(94.09% 89.16% 0% 20.39%) | |
| Android | #ff0c16cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.99: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="#0c16cb"
Gradient stop
<stop stop-color="#0c16cb"/>
CSS variable + fill
:root { --c: #0c16cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0c16cb; background-color: #0c16cb; bg-[#0c16cb]