Skip to content

#2aafff

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

RGB
42, 175, 255
HSL
203°, 100%, 58%
CMYK
84, 31, 0, 0
Luminance
0.3837

Every format

HEX#2aafff
RGBrgb(42, 175, 255)
HSLhsl(203, 100%, 58%)
CMYKcmyk(84%, 31%, 0%, 0%)
LABlab(68.3 -7.3 -49.2)
LCHlch(68.3 49.7 261.6)
OKLCHoklch(0.723 0.159 241.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2aafff on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#2aafff on black: 8.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green68.6%
Blue100.0%

CMYK percentages

Cyan83.5%
Magenta31.4%
Yellow0.0%
Key (black)0.0%

Color previews

#2aafff text on a black background

contrast 8.67:1

Card sample

#2aafff text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2aafff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2aafff in the Color Lab