Skip to content

#2aa4df

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

RGB
42, 164, 223
HSL
200°, 74%, 52%
CMYK
81, 27, 0, 13
Luminance
0.3237

Every format

HEX#2aa4df
RGBrgb(42, 164, 223)
HSLhsl(200, 74%, 52%)
CMYKcmyk(81%, 27%, 0%, 13%)
LABlab(63.6 -12.4 -39.0)
LCHlch(63.6 40.9 252.3)
OKLCHoklch(0.681 0.134 235.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2aa4df on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#2aa4df on black: 7.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green64.3%
Blue87.5%

CMYK percentages

Cyan81.2%
Magenta26.5%
Yellow0.0%
Key (black)12.5%

Color previews

#2aa4df text on a black background

contrast 7.47:1

Card sample

#2aa4df text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2aa4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2aa4df in the Color Lab