Skip to content

#2aabbc

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

RGB
42, 171, 188
HSL
187°, 64%, 45%
CMYK
78, 9, 0, 26
Luminance
0.3325

Every format

HEX#2aabbc
RGBrgb(42, 171, 188)
HSLhsl(187, 64%, 45%)
CMYKcmyk(78%, 9%, 0%, 26%)
LABlab(64.4 -27.8 -18.5)
LCHlch(64.4 33.4 213.6)
OKLCHoklch(0.682 0.108 208.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2aabbc on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#2aabbc on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green67.1%
Blue73.7%

CMYK percentages

Cyan77.7%
Magenta9.0%
Yellow0.0%
Key (black)26.3%

Color previews

#2aabbc text on a black background

contrast 7.65:1

Card sample

#2aabbc text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2aabbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2aabbc in the Color Lab