Skip to content

#4af0ff

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

RGB
74, 240, 255
HSL
185°, 100%, 65%
CMYK
71, 6, 0, 0
Luminance
0.7100

Every format

HEX#4af0ff
RGBrgb(74, 240, 255)
HSLhsl(185, 100%, 65%)
CMYKcmyk(71%, 6%, 0%, 0%)
LABlab(87.5 -37.0 -19.5)
LCHlch(87.5 41.9 207.8)
OKLCHoklch(0.878 0.134 204.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4af0ff on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#4af0ff on black: 15.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green94.1%
Blue100.0%

CMYK percentages

Cyan71.0%
Magenta5.9%
Yellow0.0%
Key (black)0.0%

Color previews

#4af0ff text on a black background

contrast 15.20:1

Card sample

#4af0ff text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4af0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4af0ff in the Color Lab