#2f8aab
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 | #2f8aab | |
| RGB | rgb(47 138 171) | |
| HSL | hsl(195.97 56.88% 42.75%) | |
| OKLCH | oklch(0.59 0.1 226.37) | |
| CMYK | cmyk(72.51% 19.3% 0% 32.94%) | |
| Android | #ff2f8aab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.92:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.34: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="#2f8aab"
Gradient stop
<stop stop-color="#2f8aab"/>
CSS variable + fill
:root { --c: #2f8aab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2f8aab; background-color: #2f8aab; bg-[#2f8aab]