Skip to content

#40c3f4

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

RGB
64, 195, 244
HSL
196°, 89%, 60%
CMYK
74, 20, 0, 4
Luminance
0.4665

Every format

HEX#40c3f4
RGBrgb(64, 195, 244)
HSLhsl(196, 89%, 60%)
CMYKcmyk(74%, 20%, 0%, 4%)
LABlab(74.0 -19.6 -34.4)
LCHlch(74.0 39.5 240.3)
OKLCHoklch(0.767 0.131 227.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c3f4 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#40c3f4 on black: 10.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green76.5%
Blue95.7%

CMYK percentages

Cyan73.8%
Magenta20.1%
Yellow0.0%
Key (black)4.3%

Color previews

#40c3f4 text on a black background

contrast 10.33:1

Card sample

#40c3f4 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c3f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c3f4 in the Color Lab