Skip to content

#40ace0

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

RGB
64, 172, 224
HSL
200°, 72%, 57%
CMYK
71, 23, 0, 12
Luminance
0.3598

Every format

HEX#40ace0
RGBrgb(64, 172, 224)
HSLhsl(200, 72%, 57%)
CMYKcmyk(71%, 23%, 0%, 12%)
LABlab(66.5 -14.0 -35.1)
LCHlch(66.5 37.7 248.3)
OKLCHoklch(0.705 0.123 233.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40ace0 on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#40ace0 on black: 8.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green67.5%
Blue87.8%

CMYK percentages

Cyan71.4%
Magenta23.2%
Yellow0.0%
Key (black)12.2%

Color previews

#40ace0 text on a black background

contrast 8.20:1

Card sample

#40ace0 text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 172, 224, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 172, 224, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40ace0;
background: linear-gradient(135deg, #40ace0, #4041E0);

Monochromatic scale

Palettes built from #40ace0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40ace0 in the Color Lab