Skip to content

#2ab2df

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

RGB
42, 178, 223
HSL
195°, 74%, 52%
CMYK
81, 20, 0, 13
Luminance
0.3766

Every format

HEX#2ab2df
RGBrgb(42, 178, 223)
HSLhsl(195, 74%, 52%)
CMYKcmyk(81%, 20%, 0%, 13%)
LABlab(67.8 -19.9 -32.6)
LCHlch(67.8 38.2 238.6)
OKLCHoklch(0.714 0.127 226.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab2df on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#2ab2df on black: 8.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green69.8%
Blue87.5%

CMYK percentages

Cyan81.2%
Magenta20.2%
Yellow0.0%
Key (black)12.5%

Color previews

#2ab2df text on a black background

contrast 8.53:1

Card sample

#2ab2df text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab2df in the Color Lab