#0c0551
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 | #0c0551 | |
| RGB | rgb(12 5 81) | |
| HSL | hsl(245.53 88.37% 16.86%) | |
| OKLCH | oklch(0.21 0.13 272.2) | |
| CMYK | cmyk(85.19% 93.83% 0% 68.24%) | |
| Android | #ff0c0551 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
18.16:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.15: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="#0c0551"
Gradient stop
<stop stop-color="#0c0551"/>
CSS variable + fill
:root { --c: #0c0551; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0c0551; background-color: #0c0551; bg-[#0c0551]