Skip to content

#2aa0df

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

RGB
42, 160, 223
HSL
201°, 74%, 52%
CMYK
81, 28, 0, 13
Luminance
0.3096

Every format

HEX#2aa0df
RGBrgb(42, 160, 223)
HSLhsl(201, 74%, 52%)
CMYKcmyk(81%, 28%, 0%, 13%)
LABlab(62.5 -10.2 -40.8)
LCHlch(62.5 42.1 256.0)
OKLCHoklch(0.671 0.136 238.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2aa0df on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#2aa0df on black: 7.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green62.7%
Blue87.5%

CMYK percentages

Cyan81.2%
Magenta28.3%
Yellow0.0%
Key (black)12.5%

Color previews

#2aa0df text on a black background

contrast 7.19:1

Card sample

#2aa0df text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2aa0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2aa0df in the Color Lab