Skip to content

#40acfd

a balanced, electric blue · cool · closest name: dodgerblue

RGB
64, 172, 253
HSL
206°, 98%, 62%
CMYK
75, 32, 0, 1
Luminance
0.3769

Every format

HEX#40acfd
RGBrgb(64, 172, 253)
HSLhsl(206, 98%, 62%)
CMYKcmyk(75%, 32%, 0%, 1%)
LABlab(67.8 -4.2 -48.9)
LCHlch(67.8 49.1 265.1)
OKLCHoklch(0.719 0.153 245.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40acfd on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#40acfd on black: 8.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green67.5%
Blue99.2%

CMYK percentages

Cyan74.7%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#40acfd text on a black background

contrast 8.54:1

Card sample

#40acfd text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40acfd in the Color Lab