Skip to content

#2ab6cc

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

RGB
42, 182, 204
HSL
188°, 66%, 48%
CMYK
79, 11, 0, 20
Luminance
0.3831

Every format

HEX#2ab6cc
RGBrgb(42, 182, 204)
HSLhsl(188, 66%, 48%)
CMYKcmyk(79%, 11%, 0%, 20%)
LABlab(68.2 -28.2 -21.4)
LCHlch(68.2 35.4 217.2)
OKLCHoklch(0.715 0.116 211.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab6cc on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#2ab6cc on black: 8.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green71.4%
Blue80.0%

CMYK percentages

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

Color previews

#2ab6cc text on a black background

contrast 8.66:1

Card sample

#2ab6cc text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab6cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab6cc in the Color Lab