Skip to content

#4af0f4

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

RGB
74, 240, 244
HSL
181°, 89%, 62%
CMYK
70, 2, 0, 4
Luminance
0.7031

Every format

HEX#4af0f4
RGBrgb(74, 240, 244)
HSLhsl(181, 89%, 62%)
CMYKcmyk(70%, 2%, 0%, 4%)
LABlab(87.1 -40.1 -14.3)
LCHlch(87.1 42.6 199.6)
OKLCHoklch(0.874 0.133 197.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4af0f4 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#4af0f4 on black: 15.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green94.1%
Blue95.7%

CMYK percentages

Cyan69.7%
Magenta1.6%
Yellow0.0%
Key (black)4.3%

Color previews

#4af0f4 text on a black background

contrast 15.06:1

Card sample

#4af0f4 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4af0f4;
Background color
Panel with #4af0f4 background
background-color: #4af0f4;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(74, 240, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 240, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4af0f4;
background: linear-gradient(135deg, #4af0f4, #4A7FF4);

Monochromatic scale

Palettes built from #4af0f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4af0f4 in the Color Lab