Skip to content

#2df0fe

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

RGB
45, 240, 254
HSL
184°, 99%, 59%
CMYK
82, 6, 0, 0
Luminance
0.7003

Every format

HEX#2df0fe
RGBrgb(45, 240, 254)
HSLhsl(184, 99%, 59%)
CMYKcmyk(82%, 6%, 0%, 0%)
LABlab(87.0 -40.0 -19.8)
LCHlch(87.0 44.6 206.2)
OKLCHoklch(0.873 0.142 202.7)

Copy-ready code

/* CSS */
color: #2df0fe;
background-color: #2df0fe;
/* Tailwind (arbitrary) */
class="text-[#2df0fe] bg-[#2df0fe]"
/* SCSS */
$brand: #2df0fe;
/* SwiftUI */
Color(red: 0.176, green: 0.941, blue: 0.996)
/* Android */
Color.parseColor("#2df0fe")

Accessibility — WCAG contrast

Aa
#2df0fe on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#2df0fe on black: 15.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green94.1%
Blue99.6%

CMYK percentages

Cyan82.3%
Magenta5.5%
Yellow0.0%
Key (black)0.4%

Color previews

#2df0fe text on a black background

contrast 15.01:1

Card sample

#2df0fe text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2df0fe;
Background color
Panel with #2df0fe background
background-color: #2df0fe;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 240, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 240, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2df0fe;
background: linear-gradient(135deg, #2df0fe, #2D65FE);

Monochromatic scale

Palettes built from #2df0fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2df0fe in the Color Lab