Skip to content

#2c9fac

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

RGB
44, 159, 172
HSL
186°, 59%, 42%
CMYK
74, 8, 0, 33
Luminance
0.2831

Every format

HEX#2c9fac
RGBrgb(44, 159, 172)
HSLhsl(186, 59%, 42%)
CMYKcmyk(74%, 8%, 0%, 33%)
LABlab(60.2 -26.6 -15.8)
LCHlch(60.2 31.0 210.8)
OKLCHoklch(0.646 0.100 206.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c9fac on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#2c9fac on black: 6.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green62.4%
Blue67.5%

CMYK percentages

Cyan74.4%
Magenta7.6%
Yellow0.0%
Key (black)32.5%

Color previews

#2c9fac text on a black background

contrast 6.66:1

Card sample

#2c9fac text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 159, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 159, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c9fac;
background: linear-gradient(135deg, #2c9fac, #2C4AAC);

Monochromatic scale

Palettes built from #2c9fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c9fac in the Color Lab