Skip to content

#40c9df

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

RGB
64, 201, 223
HSL
188°, 71%, 56%
CMYK
71, 10, 0, 13
Luminance
0.4819

Every format

HEX#40c9df
RGBrgb(64, 201, 223)
HSLhsl(188, 71%, 56%)
CMYKcmyk(71%, 10%, 0%, 13%)
LABlab(74.9 -29.2 -21.5)
LCHlch(74.9 36.3 216.4)
OKLCHoklch(0.773 0.118 210.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c9df on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#40c9df on black: 10.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green78.8%
Blue87.5%

CMYK percentages

Cyan71.3%
Magenta9.9%
Yellow0.0%
Key (black)12.5%

Color previews

#40c9df text on a black background

contrast 10.64:1

Card sample

#40c9df text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 201, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 201, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c9df;
background: linear-gradient(135deg, #40c9df, #405FDF);

Monochromatic scale

Palettes built from #40c9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c9df in the Color Lab