Skip to content

#40c2cc

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

RGB
64, 194, 204
HSL
184°, 58%, 53%
CMYK
69, 5, 0, 20
Luminance
0.4403

Every format

HEX#40c2cc
RGBrgb(64, 194, 204)
HSLhsl(184, 58%, 53%)
CMYKcmyk(69%, 5%, 0%, 20%)
LABlab(72.3 -31.5 -15.3)
LCHlch(72.3 35.0 205.9)
OKLCHoklch(0.749 0.111 202.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red25.1%
Green76.1%
Blue80.0%

CMYK percentages

Cyan68.6%
Magenta4.9%
Yellow0.0%
Key (black)20.0%

Color previews

#40c2cc text on a black background

contrast 9.81:1

Card sample

#40c2cc text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 194, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 194, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c2cc;
background: linear-gradient(135deg, #40c2cc, #4064CC);

Monochromatic scale

Palettes built from #40c2cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c2cc in the Color Lab