Skip to content

#2cabf4

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

RGB
44, 171, 244
HSL
202°, 90%, 57%
CMYK
82, 30, 0, 4
Luminance
0.3619

Every format

HEX#2cabf4
RGBrgb(44, 171, 244)
HSLhsl(202, 90%, 57%)
CMYKcmyk(82%, 30%, 0%, 4%)
LABlab(66.7 -8.8 -45.8)
LCHlch(66.7 46.6 259.2)
OKLCHoklch(0.708 0.150 240.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cabf4 on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#2cabf4 on black: 8.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green67.1%
Blue95.7%

CMYK percentages

Cyan82.0%
Magenta29.9%
Yellow0.0%
Key (black)4.3%

Color previews

#2cabf4 text on a black background

contrast 8.24:1

Card sample

#2cabf4 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 171, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 171, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2cabf4;
background: linear-gradient(135deg, #2cabf4, #322CF4);

Monochromatic scale

Palettes built from #2cabf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cabf4 in the Color Lab