Skip to content

#2aafef

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

RGB
42, 175, 239
HSL
200°, 86%, 55%
CMYK
82, 27, 0, 6
Luminance
0.3738

Every format

HEX#2aafef
RGBrgb(42, 175, 239)
HSLhsl(200, 86%, 55%)
CMYKcmyk(82%, 27%, 0%, 6%)
LABlab(67.6 -12.9 -41.6)
LCHlch(67.6 43.6 252.8)
OKLCHoklch(0.714 0.142 235.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2aafef on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#2aafef on black: 8.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green68.6%
Blue93.7%

CMYK percentages

Cyan82.4%
Magenta26.8%
Yellow0.0%
Key (black)6.3%

Color previews

#2aafef text on a black background

contrast 8.48:1

Card sample

#2aafef text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2aafef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2aafef in the Color Lab