Skip to content

#40c0fc

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

RGB
64, 192, 252
HSL
199°, 97%, 62%
CMYK
75, 24, 0, 1
Luminance
0.4582

Every format

HEX#40c0fc
RGBrgb(64, 192, 252)
HSLhsl(199, 97%, 62%)
CMYKcmyk(75%, 24%, 0%, 1%)
LABlab(73.4 -15.4 -39.5)
LCHlch(73.4 42.4 248.7)
OKLCHoklch(0.764 0.138 233.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red25.1%
Green75.3%
Blue98.8%

CMYK percentages

Cyan74.6%
Magenta23.8%
Yellow0.0%
Key (black)1.2%

Color previews

#40c0fc text on a black background

contrast 10.16:1

Card sample

#40c0fc text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 192, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 192, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c0fc;
background: linear-gradient(135deg, #40c0fc, #4043FC);

Monochromatic scale

Palettes built from #40c0fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c0fc in the Color Lab