Skip to content

#2af2ce

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

RGB
42, 242, 206
HSL
169°, 89%, 56%
CMYK
83, 0, 15, 5
Luminance
0.6845

Every format

HEX#2af2ce
RGBrgb(42, 242, 206)
HSLhsl(169, 89%, 56%)
CMYKcmyk(83%, 0%, 15%, 5%)
LABlab(86.2 -54.3 4.2)
LCHlch(86.2 54.5 175.5)
OKLCHoklch(0.862 0.155 176.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green94.9%
Blue80.8%

CMYK percentages

Cyan82.6%
Magenta0.0%
Yellow14.9%
Key (black)5.1%

Color previews

#2af2ce text on a black background

contrast 14.69:1

Card sample

#2af2ce text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 242, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 242, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2af2ce;
background: linear-gradient(135deg, #2af2ce, #2A91F2);

Monochromatic scale

Palettes built from #2af2ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af2ce in the Color Lab