Skip to content

#40faff

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

RGB
64, 250, 255
HSL
182°, 100%, 63%
CMYK
75, 2, 0, 0
Luminance
0.7668

Every format

HEX#40faff
RGBrgb(64, 250, 255)
HSLhsl(182, 100%, 63%)
CMYKcmyk(75%, 2%, 0%, 0%)
LABlab(90.2 -42.6 -15.5)
LCHlch(90.2 45.4 200.0)
OKLCHoklch(0.899 0.141 197.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40faff on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#40faff on black: 16.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green98.0%
Blue100.0%

CMYK percentages

Cyan74.9%
Magenta2.0%
Yellow0.0%
Key (black)0.0%

Color previews

#40faff text on a black background

contrast 16.34:1

Card sample

#40faff text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 250, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 250, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40faff;
background: linear-gradient(135deg, #40faff, #407AFF);

Monochromatic scale

Palettes built from #40faff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40faff in the Color Lab