Skip to content

#4ba5df

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

RGB
75, 165, 223
HSL
204°, 70%, 58%
CMYK
66, 26, 0, 13
Luminance
0.3373

Every format

HEX#4ba5df
RGBrgb(75, 165, 223)
HSLhsl(204, 70%, 58%)
CMYKcmyk(66%, 26%, 0%, 13%)
LABlab(64.8 -8.9 -37.2)
LCHlch(64.8 38.3 256.6)
OKLCHoklch(0.692 0.121 240.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red29.4%
Green64.7%
Blue87.5%

CMYK percentages

Cyan66.4%
Magenta26.0%
Yellow0.0%
Key (black)12.5%

Color previews

#4ba5df text on a black background

contrast 7.75:1

Card sample

#4ba5df text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 165, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 165, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4ba5df;
background: linear-gradient(135deg, #4ba5df, #544BDF);

Monochromatic scale

Palettes built from #4ba5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4ba5df in the Color Lab