Skip to content

#2ba3fe

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

RGB
43, 163, 254
HSL
206°, 99%, 58%
CMYK
83, 36, 0, 0
Luminance
0.3386

Every format

HEX#2ba3fe
RGBrgb(43, 163, 254)
HSLhsl(206, 99%, 58%)
CMYKcmyk(83%, 36%, 0%, 0%)
LABlab(64.8 -0.8 -54.1)
LCHlch(64.8 54.1 269.2)
OKLCHoklch(0.695 0.168 247.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ba3fe on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#2ba3fe on black: 7.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green63.9%
Blue99.6%

CMYK percentages

Cyan83.1%
Magenta35.8%
Yellow0.0%
Key (black)0.4%

Color previews

#2ba3fe text on a black background

contrast 7.77:1

Card sample

#2ba3fe text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ba3fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ba3fe in the Color Lab