Skip to content

#2f767f

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

RGB
47, 118, 127
HSL
187°, 46%, 34%
CMYK
63, 7, 0, 50
Luminance
0.1509

Every format

HEX#2f767f
RGBrgb(47, 118, 127)
HSLhsl(187, 46%, 34%)
CMYKcmyk(63%, 7%, 0%, 50%)
LABlab(45.8 -19.1 -11.6)
LCHlch(45.8 22.3 211.2)
OKLCHoklch(0.525 0.071 206.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f767f on white: 5.23:1
AA ✓ pass · AA-large · AAA
Aa
#2f767f on black: 4.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green46.3%
Blue49.8%

CMYK percentages

Cyan63.0%
Magenta7.1%
Yellow0.0%
Key (black)50.2%

Color previews

#2f767f text on a black background

contrast 4.02:1

Card sample

#2f767f text on a white background

contrast 5.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f767f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f767f in the Color Lab