Skip to content

#3af0ff

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

RGB
58, 240, 255
HSL
185°, 100%, 61%
CMYK
77, 6, 0, 0
Luminance
0.7044

Every format

HEX#3af0ff
RGBrgb(58, 240, 255)
HSLhsl(185, 100%, 61%)
CMYKcmyk(77%, 6%, 0%, 0%)
LABlab(87.2 -38.7 -20.0)
LCHlch(87.2 43.5 207.3)
OKLCHoklch(0.875 0.139 203.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3af0ff on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#3af0ff on black: 15.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.7%
Green94.1%
Blue100.0%

CMYK percentages

Cyan77.3%
Magenta5.9%
Yellow0.0%
Key (black)0.0%

Color previews

#3af0ff text on a black background

contrast 15.09:1

Card sample

#3af0ff text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3af0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3af0ff in the Color Lab