Skip to content

#4ba2f1

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

RGB
75, 162, 241
HSL
209°, 86%, 62%
CMYK
69, 33, 0, 6
Luminance
0.3369

Every format

HEX#4ba2f1
RGBrgb(75, 162, 241)
HSLhsl(209, 86%, 62%)
CMYKcmyk(69%, 33%, 0%, 6%)
LABlab(64.7 -1.2 -47.2)
LCHlch(64.7 47.2 268.6)
OKLCHoklch(0.694 0.143 248.7)

Copy-ready code

/* CSS */
color: #4ba2f1;
background-color: #4ba2f1;
/* Tailwind (arbitrary) */
class="text-[#4ba2f1] bg-[#4ba2f1]"
/* SCSS */
$brand: #4ba2f1;
/* SwiftUI */
Color(red: 0.294, green: 0.635, blue: 0.945)
/* Android */
Color.parseColor("#4ba2f1")

Accessibility — WCAG contrast

Aa
#4ba2f1 on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#4ba2f1 on black: 7.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.4%
Green63.5%
Blue94.5%

CMYK percentages

Cyan68.9%
Magenta32.8%
Yellow0.0%
Key (black)5.5%

Color previews

#4ba2f1 text on a black background

contrast 7.74:1

Card sample

#4ba2f1 text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4ba2f1;
Background color
Panel with #4ba2f1 background
background-color: #4ba2f1;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 162, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 162, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4ba2f1;
background: linear-gradient(135deg, #4ba2f1, #634BF1);

Monochromatic scale

Palettes built from #4ba2f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4ba2f1 in the Color Lab