#0512bc
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 | #0512bc | |
| RGB | rgb(5 18 188) | |
| HSL | hsl(235.74 94.82% 37.84%) | |
| OKLCH | oklch(0.37 0.24 264.8) | |
| CMYK | cmyk(97.34% 90.43% 0% 26.27%) | |
| Android | #ff0512bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.81: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="#0512bc"
Gradient stop
<stop stop-color="#0512bc"/>
CSS variable + fill
:root { --c: #0512bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0512bc; background-color: #0512bc; bg-[#0512bc]