Skip to content

#40c7fd

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

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

Every format

HEX#40c7fd
RGBrgb(64, 199, 253)
HSLhsl(197, 98%, 62%)
CMYKcmyk(75%, 21%, 0%, 1%)
LABlab(75.5 -18.8 -36.9)
LCHlch(75.5 41.4 243.0)
OKLCHoklch(0.780 0.136 229.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c7fd on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#40c7fd on black: 10.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green78.0%
Blue99.2%

CMYK percentages

Cyan74.7%
Magenta21.3%
Yellow0.0%
Key (black)0.8%

Color previews

#40c7fd text on a black background

contrast 10.81:1

Card sample

#40c7fd text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c7fd in the Color Lab