Skip to content

#2accfb

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

RGB
42, 204, 251
HSL
194°, 96%, 58%
CMYK
83, 19, 0, 2
Luminance
0.5064

Every format

HEX#2accfb
RGBrgb(42, 204, 251)
HSLhsl(194, 96%, 58%)
CMYKcmyk(83%, 19%, 0%, 2%)
LABlab(76.5 -24.0 -34.3)
LCHlch(76.5 41.8 235.0)
OKLCHoklch(0.787 0.140 223.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2accfb on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#2accfb on black: 11.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green80.0%
Blue98.4%

CMYK percentages

Cyan83.3%
Magenta18.7%
Yellow0.0%
Key (black)1.6%

Color previews

#2accfb text on a black background

contrast 11.13:1

Card sample

#2accfb text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2accfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2accfb in the Color Lab