Skip to content

#2defec

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

RGB
45, 239, 236
HSL
179°, 86%, 56%
CMYK
81, 0, 1, 6
Luminance
0.6835

Every format

HEX#2defec
RGBrgb(45, 239, 236)
HSLhsl(179, 86%, 56%)
CMYKcmyk(81%, 0%, 1%, 6%)
LABlab(86.2 -44.8 -11.6)
LCHlch(86.2 46.3 194.5)
OKLCHoklch(0.864 0.141 193.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2defec on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#2defec on black: 14.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green93.7%
Blue92.5%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow1.3%
Key (black)6.3%

Color previews

#2defec text on a black background

contrast 14.67:1

Card sample

#2defec text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2defec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2defec in the Color Lab