Skip to content

#2ab0ff

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

RGB
42, 176, 255
HSL
202°, 100%, 58%
CMYK
84, 31, 0, 0
Luminance
0.3876

Every format

HEX#2ab0ff
RGBrgb(42, 176, 255)
HSLhsl(202, 100%, 58%)
CMYKcmyk(84%, 31%, 0%, 0%)
LABlab(68.6 -7.8 -48.8)
LCHlch(68.6 49.4 260.9)
OKLCHoklch(0.725 0.158 241.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab0ff on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#2ab0ff on black: 8.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan83.5%
Magenta31.0%
Yellow0.0%
Key (black)0.0%

Color previews

#2ab0ff text on a black background

contrast 8.75:1

Card sample

#2ab0ff text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab0ff in the Color Lab