#2c71f9
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 | #2c71f9 | |
| RGB | rgb(44 113 249) | |
| HSL | hsl(219.8 94.47% 57.45%) | |
| OKLCH | oklch(0.59 0.22 261.99) | |
| CMYK | cmyk(82.33% 54.62% 0% 2.35%) | |
| Android | #ff2c71f9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.83: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="#2c71f9"
Gradient stop
<stop stop-color="#2c71f9"/>
CSS variable + fill
:root { --c: #2c71f9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2c71f9; background-color: #2c71f9; bg-[#2c71f9]