Skip to content

#2aacfd

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

RGB
42, 172, 253
HSL
203°, 98%, 58%
CMYK
83, 32, 0, 1
Luminance
0.3709

Every format

HEX#2aacfd
RGBrgb(42, 172, 253)
HSLhsl(203, 98%, 58%)
CMYKcmyk(83%, 32%, 0%, 1%)
LABlab(67.3 -6.3 -49.6)
LCHlch(67.3 50.0 262.8)
OKLCHoklch(0.715 0.159 242.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2aacfd on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#2aacfd on black: 8.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green67.5%
Blue99.2%

CMYK percentages

Cyan83.4%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#2aacfd text on a black background

contrast 8.42:1

Card sample

#2aacfd text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2aacfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2aacfd in the Color Lab