Skip to content

#2abafd

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

RGB
42, 186, 253
HSL
199°, 98%, 58%
CMYK
83, 27, 0, 1
Luminance
0.4270

Every format

HEX#2abafd
RGBrgb(42, 186, 253)
HSLhsl(199, 98%, 58%)
CMYKcmyk(83%, 27%, 0%, 1%)
LABlab(71.3 -13.9 -43.3)
LCHlch(71.3 45.5 252.1)
OKLCHoklch(0.747 0.149 235.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2abafd on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#2abafd on black: 9.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green72.9%
Blue99.2%

CMYK percentages

Cyan83.4%
Magenta26.5%
Yellow0.0%
Key (black)0.8%

Color previews

#2abafd text on a black background

contrast 9.54:1

Card sample

#2abafd text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2abafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abafd in the Color Lab