Skip to content

#2ab1ff

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

RGB
42, 177, 255
HSL
202°, 100%, 58%
CMYK
84, 31, 0, 0
Luminance
0.3916

Every format

HEX#2ab1ff
RGBrgb(42, 177, 255)
HSLhsl(202, 100%, 58%)
CMYKcmyk(84%, 31%, 0%, 0%)
LABlab(68.9 -8.4 -48.3)
LCHlch(68.9 49.0 260.2)
OKLCHoklch(0.727 0.157 240.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab1ff on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#2ab1ff on black: 8.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green69.4%
Blue100.0%

CMYK percentages

Cyan83.5%
Magenta30.6%
Yellow0.0%
Key (black)0.0%

Color previews

#2ab1ff text on a black background

contrast 8.83:1

Card sample

#2ab1ff text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 177, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 177, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ab1ff;
background: linear-gradient(135deg, #2ab1ff, #312AFF);

Monochromatic scale

Palettes built from #2ab1ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab1ff in the Color Lab