Skip to content

#40fff2

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

RGB
64, 255, 242
HSL
176°, 100%, 63%
CMYK
75, 0, 5, 0
Luminance
0.7902

Every format

HEX#40fff2
RGBrgb(64, 255, 242)
HSLhsl(176, 100%, 63%)
CMYKcmyk(75%, 0%, 5%, 0%)
LABlab(91.2 -48.4 -7.2)
LCHlch(91.2 48.9 188.4)
OKLCHoklch(0.907 0.146 187.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40fff2 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#40fff2 on black: 16.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green100.0%
Blue94.9%

CMYK percentages

Cyan74.9%
Magenta0.0%
Yellow5.1%
Key (black)0.0%

Color previews

#40fff2 text on a black background

contrast 16.80:1

Card sample

#40fff2 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40fff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40fff2 in the Color Lab