Skip to content

#2aacef

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

RGB
42, 172, 239
HSL
200°, 86%, 55%
CMYK
82, 28, 0, 6
Luminance
0.3623

Every format

HEX#2aacef
RGBrgb(42, 172, 239)
HSLhsl(200, 86%, 55%)
CMYKcmyk(82%, 28%, 0%, 6%)
LABlab(66.7 -11.2 -43.0)
LCHlch(66.7 44.5 255.4)
OKLCHoklch(0.707 0.144 237.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2aacef on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#2aacef on black: 8.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green67.5%
Blue93.7%

CMYK percentages

Cyan82.4%
Magenta28.0%
Yellow0.0%
Key (black)6.3%

Color previews

#2aacef text on a black background

contrast 8.25:1

Card sample

#2aacef text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2aacef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2aacef in the Color Lab