Skip to content

#2fa5ab

a dark, vivid cyan · cool · closest name: teal

RGB
47, 165, 171
HSL
183°, 57%, 43%
CMYK
73, 4, 0, 33
Luminance
0.3045

Every format

HEX#2fa5ab
RGBrgb(47, 165, 171)
HSLhsl(183, 57%, 43%)
CMYKcmyk(73%, 4%, 0%, 33%)
LABlab(62.0 -29.5 -12.4)
LCHlch(62.0 32.0 202.9)
OKLCHoklch(0.662 0.101 200.1)

Copy-ready code

/* CSS */
color: #2fa5ab;
background-color: #2fa5ab;
/* Tailwind (arbitrary) */
class="text-[#2fa5ab] bg-[#2fa5ab]"
/* SCSS */
$brand: #2fa5ab;
/* SwiftUI */
Color(red: 0.184, green: 0.647, blue: 0.671)
/* Android */
Color.parseColor("#2fa5ab")

Accessibility — WCAG contrast

Aa
#2fa5ab on white: 2.96:1
AA ✗ fail · AA-large · AAA
Aa
#2fa5ab on black: 7.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green64.7%
Blue67.1%

CMYK percentages

Cyan72.5%
Magenta3.5%
Yellow0.0%
Key (black)32.9%

Color previews

#2fa5ab text on a black background

contrast 7.09:1

Card sample

#2fa5ab text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2fa5ab;
Background color
Panel with #2fa5ab background
background-color: #2fa5ab;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2fa5ab;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(47, 165, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 165, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2fa5ab;
background: linear-gradient(135deg, #2fa5ab, #2F52AB);

Monochromatic scale

Palettes built from #2fa5ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fa5ab in the Color Lab