Skip to content

#28a2df

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

RGB
40, 162, 223
HSL
200°, 74%, 52%
CMYK
82, 27, 0, 13
Luminance
0.3162

Every format

HEX#28a2df
RGBrgb(40, 162, 223)
HSLhsl(200, 74%, 52%)
CMYKcmyk(82%, 27%, 0%, 13%)
LABlab(63.0 -11.5 -40.0)
LCHlch(63.0 41.6 253.9)
OKLCHoklch(0.676 0.135 236.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#28a2df on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#28a2df on black: 7.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green63.5%
Blue87.5%

CMYK percentages

Cyan82.1%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#28a2df text on a black background

contrast 7.32:1

Card sample

#28a2df text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #28a2df;
Background color
Panel with #28a2df background
background-color: #28a2df;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 162, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 162, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #28a2df;
background: linear-gradient(135deg, #28a2df, #2828DF);

Monochromatic scale

Palettes built from #28a2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #28a2df in the Color Lab