Skip to content
Vectorlight.net

#2f776b

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#2f776b
RGB
47, 119, 107
HSL
170°, 43.37%, 32.55%
OKLCH
0.52 0.07 180.54
Names
—
Lists

Codes

FormatValue
HEX#2f776b
RGBrgb(47 119 107)
HSLhsl(170 43.37% 32.55%)
OKLCHoklch(0.52 0.07 180.54)
CMYKcmyk(60.5% 0% 10.08% 53.33%)
Android#ff2f776b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.97:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#2f776b"
Gradient stop
<stop stop-color="#2f776b"/>
CSS variable + fill
:root { --c: #2f776b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #2f776b;
background-color: #2f776b;
bg-[#2f776b]