Skip to content

#2ab4cc

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

RGB
42, 180, 204
HSL
189°, 66%, 48%
CMYK
79, 12, 0, 20
Luminance
0.3749

Every format

HEX#2ab4cc
RGBrgb(42, 180, 204)
HSLhsl(189, 66%, 48%)
CMYKcmyk(79%, 12%, 0%, 20%)
LABlab(67.6 -27.2 -22.3)
LCHlch(67.6 35.2 219.4)
OKLCHoklch(0.710 0.115 212.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab4cc on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#2ab4cc on black: 8.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green70.6%
Blue80.0%

CMYK percentages

Cyan79.4%
Magenta11.8%
Yellow0.0%
Key (black)20.0%

Color previews

#2ab4cc text on a black background

contrast 8.50:1

Card sample

#2ab4cc text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab4cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab4cc in the Color Lab