#297db2
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 | #297db2 | |
| RGB | rgb(41 125 178) | |
| HSL | hsl(203.21 62.56% 42.94%) | |
| OKLCH | oklch(0.56 0.11 241.15) | |
| CMYK | cmyk(76.97% 29.78% 0% 30.2%) | |
| Android | #ff297db2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.49:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.67: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="#297db2"
Gradient stop
<stop stop-color="#297db2"/>
CSS variable + fill
:root { --c: #297db2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #297db2; background-color: #297db2; bg-[#297db2]