Skip to content

#2af0cd

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

RGB
42, 240, 205
HSL
169°, 87%, 55%
CMYK
83, 0, 15, 6
Luminance
0.6722

Every format

HEX#2af0cd
RGBrgb(42, 240, 205)
HSLhsl(169, 87%, 55%)
CMYKcmyk(83%, 0%, 15%, 6%)
LABlab(85.6 -53.8 3.9)
LCHlch(85.6 53.9 175.9)
OKLCHoklch(0.857 0.153 176.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af0cd on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#2af0cd on black: 14.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green94.1%
Blue80.4%

CMYK percentages

Cyan82.5%
Magenta0.0%
Yellow14.6%
Key (black)5.9%

Color previews

#2af0cd text on a black background

contrast 14.44:1

Card sample

#2af0cd text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2af0cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af0cd in the Color Lab