Skip to content

#2ba6ff

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

RGB
43, 166, 255
HSL
205°, 100%, 58%
CMYK
83, 35, 0, 0
Luminance
0.3501

Every format

HEX#2ba6ff
RGBrgb(43, 166, 255)
HSLhsl(205, 100%, 58%)
CMYKcmyk(83%, 35%, 0%, 0%)
LABlab(65.8 -2.1 -53.2)
LCHlch(65.8 53.3 267.7)
OKLCHoklch(0.703 0.166 246.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ba6ff on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#2ba6ff on black: 8.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green65.1%
Blue100.0%

CMYK percentages

Cyan83.1%
Magenta34.9%
Yellow0.0%
Key (black)0.0%

Color previews

#2ba6ff text on a black background

contrast 8.00:1

Card sample

#2ba6ff text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ba6ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ba6ff in the Color Lab