Skip to content

#2ab4f9

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

RGB
42, 180, 249
HSL
200°, 95%, 57%
CMYK
83, 28, 0, 2
Luminance
0.3997

Every format

HEX#2ab4f9
RGBrgb(42, 180, 249)
HSLhsl(200, 95%, 57%)
CMYKcmyk(83%, 28%, 0%, 2%)
LABlab(69.5 -12.1 -44.1)
LCHlch(69.5 45.8 254.7)
OKLCHoklch(0.731 0.149 237.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab4f9 on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#2ab4f9 on black: 8.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green70.6%
Blue97.6%

CMYK percentages

Cyan83.1%
Magenta27.7%
Yellow0.0%
Key (black)2.4%

Color previews

#2ab4f9 text on a black background

contrast 8.99:1

Card sample

#2ab4f9 text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab4f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab4f9 in the Color Lab