Skip to content

#2ab3fe

a balanced, electric blue · cool · closest name: steelblue

RGB
42, 179, 254
HSL
201°, 99%, 58%
CMYK
84, 30, 0, 0
Luminance
0.3989

Every format

HEX#2ab3fe
RGBrgb(42, 179, 254)
HSLhsl(201, 99%, 58%)
CMYKcmyk(84%, 30%, 0%, 0%)
LABlab(69.4 -9.8 -46.9)
LCHlch(69.4 47.9 258.2)
OKLCHoklch(0.731 0.155 239.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab3fe on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#2ab3fe on black: 8.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green70.2%
Blue99.6%

CMYK percentages

Cyan83.5%
Magenta29.5%
Yellow0.0%
Key (black)0.4%

Color previews

#2ab3fe text on a black background

contrast 8.98:1

Card sample

#2ab3fe text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab3fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab3fe in the Color Lab