#0875ba
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 | #0875ba | |
| RGB | rgb(8 117 186) | |
| HSL | hsl(203.26 91.75% 38.04%) | |
| OKLCH | oklch(0.54 0.14 245.82) | |
| CMYK | cmyk(95.7% 37.1% 0% 27.06%) | |
| Android | #ff0875ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.26: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="#0875ba"
Gradient stop
<stop stop-color="#0875ba"/>
CSS variable + fill
:root { --c: #0875ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0875ba; background-color: #0875ba; bg-[#0875ba]