Skip to content

#2ab4bf

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

RGB
42, 180, 191
HSL
184°, 64%, 46%
CMYK
78, 6, 0, 25
Luminance
0.3690

Every format

HEX#2ab4bf
RGBrgb(42, 180, 191)
HSLhsl(184, 64%, 46%)
CMYKcmyk(78%, 6%, 0%, 25%)
LABlab(67.2 -31.2 -15.8)
LCHlch(67.2 35.0 206.9)
OKLCHoklch(0.705 0.112 203.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab4bf on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#2ab4bf on black: 8.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green70.6%
Blue74.9%

CMYK percentages

Cyan78.0%
Magenta5.8%
Yellow0.0%
Key (black)25.1%

Color previews

#2ab4bf text on a black background

contrast 8.38:1

Card sample

#2ab4bf text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 180, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 180, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ab4bf;
background: linear-gradient(135deg, #2ab4bf, #2A51BF);

Monochromatic scale

Palettes built from #2ab4bf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab4bf in the Color Lab