Skip to content

#40c1df

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

RGB
64, 193, 223
HSL
191°, 71%, 56%
CMYK
71, 14, 0, 13
Luminance
0.4456

Every format

HEX#40c1df
RGBrgb(64, 193, 223)
HSLhsl(191, 71%, 56%)
CMYKcmyk(71%, 14%, 0%, 13%)
LABlab(72.6 -25.2 -25.1)
LCHlch(72.6 35.6 224.9)
OKLCHoklch(0.754 0.117 216.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c1df on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#40c1df on black: 9.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green75.7%
Blue87.5%

CMYK percentages

Cyan71.3%
Magenta13.5%
Yellow0.0%
Key (black)12.5%

Color previews

#40c1df text on a black background

contrast 9.91:1

Card sample

#40c1df text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c1df in the Color Lab