Skip to content

#2ba3fc

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

RGB
43, 163, 252
HSL
206°, 97%, 58%
CMYK
83, 35, 0, 1
Luminance
0.3374

Every format

HEX#2ba3fc
RGBrgb(43, 163, 252)
HSLhsl(206, 97%, 58%)
CMYKcmyk(83%, 35%, 0%, 1%)
LABlab(64.8 -1.5 -53.2)
LCHlch(64.8 53.2 268.4)
OKLCHoklch(0.694 0.165 246.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.9%
Green63.9%
Blue98.8%

CMYK percentages

Cyan82.9%
Magenta35.3%
Yellow0.0%
Key (black)1.2%

Color previews

#2ba3fc text on a black background

contrast 7.75:1

Card sample

#2ba3fc text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ba3fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ba3fc in the Color Lab