Skip to content

#2baffc

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

RGB
43, 175, 252
HSL
202°, 97%, 58%
CMYK
83, 31, 0, 1
Luminance
0.3820

Every format

HEX#2baffc
RGBrgb(43, 175, 252)
HSLhsl(202, 97%, 58%)
CMYKcmyk(83%, 31%, 0%, 1%)
LABlab(68.2 -8.2 -47.8)
LCHlch(68.2 48.5 260.2)
OKLCHoklch(0.721 0.155 240.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2baffc on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#2baffc on black: 8.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green68.6%
Blue98.8%

CMYK percentages

Cyan82.9%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#2baffc text on a black background

contrast 8.64:1

Card sample

#2baffc text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 175, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 175, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2baffc;
background: linear-gradient(135deg, #2baffc, #322BFC);

Monochromatic scale

Palettes built from #2baffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2baffc in the Color Lab