Skip to content

#2ab2cc

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

RGB
42, 178, 204
HSL
190°, 66%, 48%
CMYK
79, 13, 0, 20
Luminance
0.3669

Every format

HEX#2ab2cc
RGBrgb(42, 178, 204)
HSLhsl(190, 66%, 48%)
CMYKcmyk(79%, 13%, 0%, 20%)
LABlab(67.0 -26.2 -23.2)
LCHlch(67.0 35.0 221.6)
OKLCHoklch(0.706 0.115 214.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab2cc on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#2ab2cc on black: 8.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green69.8%
Blue80.0%

CMYK percentages

Cyan79.4%
Magenta12.7%
Yellow0.0%
Key (black)20.0%

Color previews

#2ab2cc text on a black background

contrast 8.34:1

Card sample

#2ab2cc text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab2cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab2cc in the Color Lab