Skip to content

#2ba0df

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

RGB
43, 160, 223
HSL
201°, 74%, 52%
CMYK
81, 28, 0, 13
Luminance
0.3098

Every format

HEX#2ba0df
RGBrgb(43, 160, 223)
HSLhsl(201, 74%, 52%)
CMYKcmyk(81%, 28%, 0%, 13%)
LABlab(62.5 -10.1 -40.8)
LCHlch(62.5 42.0 256.1)
OKLCHoklch(0.672 0.136 238.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ba0df on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#2ba0df on black: 7.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green62.7%
Blue87.5%

CMYK percentages

Cyan80.7%
Magenta28.3%
Yellow0.0%
Key (black)12.5%

Color previews

#2ba0df text on a black background

contrast 7.20:1

Card sample

#2ba0df text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 160, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 160, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ba0df;
background: linear-gradient(135deg, #2ba0df, #2E2BDF);

Monochromatic scale

Palettes built from #2ba0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ba0df in the Color Lab