Skip to content

#2f9aaa

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

RGB
47, 154, 170
HSL
188°, 57%, 43%
CMYK
72, 9, 0, 33
Luminance
0.2662

Every format

HEX#2f9aaa
RGBrgb(47, 154, 170)
HSLhsl(188, 57%, 43%)
CMYKcmyk(72%, 9%, 0%, 33%)
LABlab(58.6 -24.3 -17.1)
LCHlch(58.6 29.7 215.0)
OKLCHoklch(0.634 0.096 209.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f9aaa on white: 3.32:1
AA ✗ fail · AA-large · AAA
Aa
#2f9aaa on black: 6.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green60.4%
Blue66.7%

CMYK percentages

Cyan72.4%
Magenta9.4%
Yellow0.0%
Key (black)33.3%

Color previews

#2f9aaa text on a black background

contrast 6.32:1

Card sample

#2f9aaa text on a white background

contrast 3.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f9aaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f9aaa in the Color Lab