#2997bd
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 | #2997bd | |
| RGB | rgb(41 151 189) | |
| HSL | hsl(195.41 64.35% 45.1%) | |
| OKLCH | oklch(0.63 0.11 226.38) | |
| CMYK | cmyk(78.31% 20.11% 0% 25.88%) | |
| Android | #ff2997bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.35:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.25: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="#2997bd"
Gradient stop
<stop stop-color="#2997bd"/>
CSS variable + fill
:root { --c: #2997bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2997bd; background-color: #2997bd; bg-[#2997bd]