#0f78bc
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 | #0f78bc | |
| RGB | rgb(15 120 188) | |
| HSL | hsl(203.58 85.22% 39.8%) | |
| OKLCH | oklch(0.55 0.14 245.33) | |
| CMYK | cmyk(92.02% 36.17% 0% 26.27%) | |
| Android | #ff0f78bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.43:1
Fail AA normal text
Pass 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="#0f78bc"
Gradient stop
<stop stop-color="#0f78bc"/>
CSS variable + fill
:root { --c: #0f78bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0f78bc; background-color: #0f78bc; bg-[#0f78bc]