#2c84ba
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 | #2c84ba | |
| RGB | rgb(44 132 186) | |
| HSL | hsl(202.82 61.74% 45.1%) | |
| OKLCH | oklch(0.59 0.12 240.38) | |
| CMYK | cmyk(76.34% 29.03% 0% 27.06%) | |
| Android | #ff2c84ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.10:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.11: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="#2c84ba"
Gradient stop
<stop stop-color="#2c84ba"/>
CSS variable + fill
:root { --c: #2c84ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2c84ba; background-color: #2c84ba; bg-[#2c84ba]