Skip to content

#2cb2fc

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

RGB
44, 178, 252
HSL
201°, 97%, 58%
CMYK
83, 29, 0, 1
Luminance
0.3940

Every format

HEX#2cb2fc
RGBrgb(44, 178, 252)
HSLhsl(201, 97%, 58%)
CMYKcmyk(83%, 29%, 0%, 1%)
LABlab(69.0 -9.8 -46.4)
LCHlch(69.0 47.4 258.1)
OKLCHoklch(0.728 0.153 239.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cb2fc on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#2cb2fc on black: 8.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green69.8%
Blue98.8%

CMYK percentages

Cyan82.5%
Magenta29.4%
Yellow0.0%
Key (black)1.2%

Color previews

#2cb2fc text on a black background

contrast 8.88:1

Card sample

#2cb2fc text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 178, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 178, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2cb2fc;
background: linear-gradient(135deg, #2cb2fc, #302CFC);

Monochromatic scale

Palettes built from #2cb2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cb2fc in the Color Lab