Skip to content

#40c7ff

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

RGB
64, 199, 255
HSL
198°, 100%, 63%
CMYK
75, 22, 0, 0
Luminance
0.4916

Every format

HEX#40c7ff
RGBrgb(64, 199, 255)
HSLhsl(198, 100%, 63%)
CMYKcmyk(75%, 22%, 0%, 0%)
LABlab(75.5 -18.1 -37.8)
LCHlch(75.5 41.9 244.4)
OKLCHoklch(0.781 0.138 230.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red25.1%
Green78.0%
Blue100.0%

CMYK percentages

Cyan74.9%
Magenta22.0%
Yellow0.0%
Key (black)0.0%

Color previews

#40c7ff text on a black background

contrast 10.83:1

Card sample

#40c7ff text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c7ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c7ff in the Color Lab