Skip to content

#2ab4d9

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

RGB
42, 180, 217
HSL
193°, 70%, 51%
CMYK
81, 17, 0, 15
Luminance
0.3814

Every format

HEX#2ab4d9
RGBrgb(42, 180, 217)
HSLhsl(193, 70%, 51%)
CMYKcmyk(81%, 17%, 0%, 15%)
LABlab(68.1 -22.9 -28.7)
LCHlch(68.1 36.8 231.4)
OKLCHoklch(0.716 0.122 221.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab4d9 on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#2ab4d9 on black: 8.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green70.6%
Blue85.1%

CMYK percentages

Cyan80.6%
Magenta17.1%
Yellow0.0%
Key (black)14.9%

Color previews

#2ab4d9 text on a black background

contrast 8.63:1

Card sample

#2ab4d9 text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab4d9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab4d9 in the Color Lab