Skip to content

#2fa1ab

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

RGB
47, 161, 171
HSL
185°, 57%, 43%
CMYK
73, 6, 0, 33
Luminance
0.2903

Every format

HEX#2fa1ab
RGBrgb(47, 161, 171)
HSLhsl(185, 57%, 43%)
CMYKcmyk(73%, 6%, 0%, 33%)
LABlab(60.8 -27.5 -14.3)
LCHlch(60.8 31.0 207.5)
OKLCHoklch(0.652 0.099 203.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fa1ab on white: 3.09:1
AA ✗ fail · AA-large · AAA
Aa
#2fa1ab on black: 6.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green63.1%
Blue67.1%

CMYK percentages

Cyan72.5%
Magenta5.8%
Yellow0.0%
Key (black)32.9%

Color previews

#2fa1ab text on a black background

contrast 6.81:1

Card sample

#2fa1ab text on a white background

contrast 3.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fa1ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fa1ab in the Color Lab