#0796cd
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 | #0796cd | |
| RGB | rgb(7 150 205) | |
| HSL | hsl(196.67 93.4% 41.57%) | |
| OKLCH | oklch(0.63 0.13 233.8) | |
| CMYK | cmyk(96.59% 26.83% 0% 19.61%) | |
| Android | #ff0796cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.35:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.25:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#0796cd"
Gradient stop
<stop stop-color="#0796cd"/>
CSS variable + fill
:root { --c: #0796cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0796cd; background-color: #0796cd; bg-[#0796cd]