Skip to content

#40c9fd

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

RGB
64, 201, 253
HSL
197°, 98%, 62%
CMYK
75, 21, 0, 1
Luminance
0.4996

Every format

HEX#40c9fd
RGBrgb(64, 201, 253)
HSLhsl(197, 98%, 62%)
CMYKcmyk(75%, 21%, 0%, 1%)
LABlab(76.0 -19.8 -36.0)
LCHlch(76.0 41.1 241.2)
OKLCHoklch(0.785 0.136 228.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c9fd on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#40c9fd on black: 10.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green78.8%
Blue99.2%

CMYK percentages

Cyan74.7%
Magenta20.6%
Yellow0.0%
Key (black)0.8%

Color previews

#40c9fd text on a black background

contrast 10.99:1

Card sample

#40c9fd text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c9fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c9fd in the Color Lab