Skip to content

#2ab1ee

a balanced, electric cyan · cool · closest name: steelblue

RGB
42, 177, 238
HSL
199°, 85%, 55%
CMYK
82, 26, 0, 7
Luminance
0.3811

Every format

HEX#2ab1ee
RGBrgb(42, 177, 238)
HSLhsl(199, 85%, 55%)
CMYKcmyk(82%, 26%, 0%, 7%)
LABlab(68.1 -14.3 -40.3)
LCHlch(68.1 42.7 250.5)
OKLCHoklch(0.718 0.140 234.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab1ee on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#2ab1ee on black: 8.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green69.4%
Blue93.3%

CMYK percentages

Cyan82.4%
Magenta25.6%
Yellow0.0%
Key (black)6.7%

Color previews

#2ab1ee text on a black background

contrast 8.62:1

Card sample

#2ab1ee text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab1ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab1ee in the Color Lab