Skip to content

#40cbba

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

RGB
64, 203, 186
HSL
173°, 57%, 52%
CMYK
69, 0, 8, 20
Luminance
0.4735

Every format

HEX#40cbba
RGBrgb(64, 203, 186)
HSLhsl(173, 57%, 52%)
CMYKcmyk(69%, 0%, 8%, 20%)
LABlab(74.4 -40.7 -2.3)
LCHlch(74.4 40.7 183.3)
OKLCHoklch(0.764 0.119 183.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40cbba on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#40cbba on black: 10.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green79.6%
Blue72.9%

CMYK percentages

Cyan68.5%
Magenta0.0%
Yellow8.4%
Key (black)20.4%

Color previews

#40cbba text on a black background

contrast 10.47:1

Card sample

#40cbba text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 203, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 203, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40cbba;
background: linear-gradient(135deg, #40cbba, #407FCB);

Monochromatic scale

Palettes built from #40cbba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40cbba in the Color Lab