Skip to content

#2ba0fc

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

RGB
43, 160, 252
HSL
206°, 97%, 58%
CMYK
83, 37, 0, 1
Luminance
0.3268

Every format

HEX#2ba0fc
RGBrgb(43, 160, 252)
HSLhsl(206, 97%, 58%)
CMYKcmyk(83%, 37%, 0%, 1%)
LABlab(63.9 0.3 -54.5)
LCHlch(63.9 54.5 270.3)
OKLCHoklch(0.687 0.168 247.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ba0fc on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#2ba0fc on black: 7.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green62.7%
Blue98.8%

CMYK percentages

Cyan82.9%
Magenta36.5%
Yellow0.0%
Key (black)1.2%

Color previews

#2ba0fc text on a black background

contrast 7.54:1

Card sample

#2ba0fc text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ba0fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ba0fc in the Color Lab