Skip to content

#166ac4

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

RGB
22, 106, 196
HSL
211°, 80%, 43%
CMYK
89, 46, 0, 23
Luminance
0.1446

Every format

HEX#166ac4
RGBrgb(22, 106, 196)
HSLhsl(211, 80%, 43%)
CMYKcmyk(89%, 46%, 0%, 23%)
LABlab(44.9 10.4 -53.5)
LCHlch(44.9 54.5 281.0)
OKLCHoklch(0.528 0.160 254.7)

Copy-ready code

/* CSS */
color: #166ac4;
background-color: #166ac4;
/* Tailwind (arbitrary) */
class="text-[#166ac4] bg-[#166ac4]"
/* SCSS */
$brand: #166ac4;
/* SwiftUI */
Color(red: 0.086, green: 0.416, blue: 0.769)
/* Android */
Color.parseColor("#166ac4")

Accessibility — WCAG contrast

Aa
#166ac4 on white: 5.39:1
AA ✓ pass · AA-large · AAA
Aa
#166ac4 on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.6%
Green41.6%
Blue76.9%

CMYK percentages

Cyan88.8%
Magenta45.9%
Yellow0.0%
Key (black)23.1%

Color previews

#166ac4 text on a black background

contrast 3.89:1

Card sample

#166ac4 text on a white background

contrast 5.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #166ac4;
Background color
Panel with #166ac4 background
background-color: #166ac4;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(22, 106, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 106, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #166ac4;
background: linear-gradient(135deg, #166ac4, #3616C4);

Monochromatic scale

Palettes built from #166ac4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #166ac4 in the Color Lab