Skip to content

#40c0df

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

RGB
64, 192, 223
HSL
192°, 71%, 56%
CMYK
71, 14, 0, 13
Luminance
0.4412

Every format

HEX#40c0df
RGBrgb(64, 192, 223)
HSLhsl(192, 71%, 56%)
CMYKcmyk(71%, 14%, 0%, 13%)
LABlab(72.3 -24.7 -25.6)
LCHlch(72.3 35.6 226.0)
OKLCHoklch(0.751 0.117 217.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c0df on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#40c0df on black: 9.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green75.3%
Blue87.5%

CMYK percentages

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

Color previews

#40c0df text on a black background

contrast 9.82:1

Card sample

#40c0df text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c0df in the Color Lab