Skip to content

#40c2ec

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

RGB
64, 194, 236
HSL
195°, 82%, 59%
CMYK
73, 18, 0, 8
Luminance
0.4573

Every format

HEX#40c2ec
RGBrgb(64, 194, 236)
HSLhsl(195, 82%, 59%)
CMYKcmyk(73%, 18%, 0%, 8%)
LABlab(73.4 -21.6 -31.0)
LCHlch(73.4 37.8 235.1)
OKLCHoklch(0.761 0.125 224.0)

Copy-ready code

/* CSS */
color: #40c2ec;
background-color: #40c2ec;
/* Tailwind (arbitrary) */
class="text-[#40c2ec] bg-[#40c2ec]"
/* SCSS */
$brand: #40c2ec;
/* SwiftUI */
Color(red: 0.251, green: 0.761, blue: 0.925)
/* Android */
Color.parseColor("#40c2ec")

Accessibility — WCAG contrast

Aa
#40c2ec on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#40c2ec on black: 10.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green76.1%
Blue92.5%

CMYK percentages

Cyan72.9%
Magenta17.8%
Yellow0.0%
Key (black)7.5%

Color previews

#40c2ec text on a black background

contrast 10.15:1

Card sample

#40c2ec text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #40c2ec;
Background color
Panel with #40c2ec background
background-color: #40c2ec;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 194, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 194, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c2ec;
background: linear-gradient(135deg, #40c2ec, #404FEC);

Monochromatic scale

Palettes built from #40c2ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c2ec in the Color Lab