Skip to content

#40c8ff

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

RGB
64, 200, 255
HSL
197°, 100%, 63%
CMYK
75, 22, 0, 0
Luminance
0.4962

Every format

HEX#40c8ff
RGBrgb(64, 200, 255)
HSLhsl(197, 100%, 63%)
CMYKcmyk(75%, 22%, 0%, 0%)
LABlab(75.8 -18.6 -37.4)
LCHlch(75.8 41.8 243.5)
OKLCHoklch(0.784 0.138 229.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c8ff on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#40c8ff on black: 10.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan74.9%
Magenta21.6%
Yellow0.0%
Key (black)0.0%

Color previews

#40c8ff text on a black background

contrast 10.92:1

Card sample

#40c8ff text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c8ff in the Color Lab