Skip to content

#40c7f3

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

RGB
64, 199, 243
HSL
195°, 88%, 60%
CMYK
74, 18, 0, 5
Luminance
0.4841

Every format

HEX#40c7f3
RGBrgb(64, 199, 243)
HSLhsl(195, 88%, 60%)
CMYKcmyk(74%, 18%, 0%, 5%)
LABlab(75.1 -22.0 -32.1)
LCHlch(75.1 38.9 235.6)
OKLCHoklch(0.776 0.129 224.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c7f3 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#40c7f3 on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green78.0%
Blue95.3%

CMYK percentages

Cyan73.7%
Magenta18.1%
Yellow0.0%
Key (black)4.7%

Color previews

#40c7f3 text on a black background

contrast 10.68:1

Card sample

#40c7f3 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 199, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 199, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c7f3;
background: linear-gradient(135deg, #40c7f3, #4050F3);

Monochromatic scale

Palettes built from #40c7f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c7f3 in the Color Lab