Skip to content

#2ec4fc

a balanced, electric cyan · cool · closest name: skyblue

RGB
46, 196, 252
HSL
196°, 97%, 58%
CMYK
82, 22, 0, 1
Luminance
0.4709

Every format

HEX#2ec4fc
RGBrgb(46, 196, 252)
HSLhsl(196, 97%, 58%)
CMYKcmyk(82%, 22%, 0%, 1%)
LABlab(74.2 -19.3 -38.3)
LCHlch(74.2 42.8 243.3)
OKLCHoklch(0.770 0.142 229.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ec4fc on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#2ec4fc on black: 10.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green76.9%
Blue98.8%

CMYK percentages

Cyan81.7%
Magenta22.2%
Yellow0.0%
Key (black)1.2%

Color previews

#2ec4fc text on a black background

contrast 10.42:1

Card sample

#2ec4fc text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 196, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 196, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ec4fc;
background: linear-gradient(135deg, #2ec4fc, #2E3BFC);

Monochromatic scale

Palettes built from #2ec4fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ec4fc in the Color Lab