#2886cb
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 | #2886cb | |
| RGB | rgb(40 134 203) | |
| HSL | hsl(205.4 67.08% 47.65%) | |
| OKLCH | oklch(0.6 0.14 245.57) | |
| CMYK | cmyk(80.3% 33.99% 0% 20.39%) | |
| Android | #ff2886cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.91:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.36: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="#2886cb"
Gradient stop
<stop stop-color="#2886cb"/>
CSS variable + fill
:root { --c: #2886cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2886cb; background-color: #2886cb; bg-[#2886cb]