Skip to content

#40abc2

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

RGB
64, 171, 194
HSL
191°, 52%, 51%
CMYK
67, 12, 0, 24
Luminance
0.3411

Every format

HEX#40abc2
RGBrgb(64, 171, 194)
HSLhsl(191, 52%, 51%)
CMYKcmyk(67%, 12%, 0%, 24%)
LABlab(65.0 -23.1 -20.7)
LCHlch(65.0 31.0 221.9)
OKLCHoklch(0.690 0.101 214.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40abc2 on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#40abc2 on black: 7.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green67.1%
Blue76.1%

CMYK percentages

Cyan67.0%
Magenta11.9%
Yellow0.0%
Key (black)23.9%

Color previews

#40abc2 text on a black background

contrast 7.82:1

Card sample

#40abc2 text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40abc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40abc2 in the Color Lab