Skip to content

#2abcfb

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

RGB
42, 188, 251
HSL
198°, 96%, 58%
CMYK
83, 25, 0, 2
Luminance
0.4342

Every format

HEX#2abcfb
RGBrgb(42, 188, 251)
HSLhsl(198, 96%, 58%)
CMYKcmyk(83%, 25%, 0%, 2%)
LABlab(71.8 -15.7 -41.5)
LCHlch(71.8 44.3 249.3)
OKLCHoklch(0.750 0.146 233.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2abcfb on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#2abcfb on black: 9.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green73.7%
Blue98.4%

CMYK percentages

Cyan83.3%
Magenta25.1%
Yellow0.0%
Key (black)1.6%

Color previews

#2abcfb text on a black background

contrast 9.68:1

Card sample

#2abcfb text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2abcfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abcfb in the Color Lab