Skip to content

#40cfe4

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

RGB
64, 207, 228
HSL
188°, 75%, 57%
CMYK
72, 9, 0, 11
Luminance
0.5132

Every format

HEX#40cfe4
RGBrgb(64, 207, 228)
HSLhsl(188, 75%, 57%)
CMYKcmyk(72%, 9%, 0%, 11%)
LABlab(76.9 -30.6 -21.3)
LCHlch(76.9 37.3 214.9)
OKLCHoklch(0.789 0.121 209.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40cfe4 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#40cfe4 on black: 11.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green81.2%
Blue89.4%

CMYK percentages

Cyan71.9%
Magenta9.2%
Yellow0.0%
Key (black)10.6%

Color previews

#40cfe4 text on a black background

contrast 11.26:1

Card sample

#40cfe4 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 207, 228, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 207, 228, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40cfe4;
background: linear-gradient(135deg, #40cfe4, #4062E4);

Monochromatic scale

Palettes built from #40cfe4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40cfe4 in the Color Lab