Skip to content

#2cb2f6

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

RGB
44, 178, 246
HSL
200°, 92%, 57%
CMYK
82, 28, 0, 4
Luminance
0.3903

Every format

HEX#2cb2f6
RGBrgb(44, 178, 246)
HSLhsl(200, 92%, 57%)
CMYKcmyk(82%, 28%, 0%, 4%)
LABlab(68.8 -11.9 -43.6)
LCHlch(68.8 45.1 254.7)
OKLCHoklch(0.725 0.147 237.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cb2f6 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#2cb2f6 on black: 8.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green69.8%
Blue96.5%

CMYK percentages

Cyan82.1%
Magenta27.6%
Yellow0.0%
Key (black)3.5%

Color previews

#2cb2f6 text on a black background

contrast 8.81:1

Card sample

#2cb2f6 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cb2f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cb2f6 in the Color Lab