Skip to content

#40bacf

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

RGB
64, 186, 207
HSL
189°, 60%, 53%
CMYK
69, 10, 0, 19
Luminance
0.4071

Every format

HEX#40bacf
RGBrgb(64, 186, 207)
HSLhsl(189, 60%, 53%)
CMYKcmyk(69%, 10%, 0%, 19%)
LABlab(70.0 -26.6 -20.4)
LCHlch(70.0 33.6 217.4)
OKLCHoklch(0.731 0.109 211.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40bacf on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#40bacf on black: 9.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green72.9%
Blue81.2%

CMYK percentages

Cyan69.1%
Magenta10.1%
Yellow0.0%
Key (black)18.8%

Color previews

#40bacf text on a black background

contrast 9.14:1

Card sample

#40bacf text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40bacf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40bacf in the Color Lab