Skip to content

#2016b2

a dark, electric blue · warm · closest name: navy

RGB
32, 22, 178
HSL
244°, 78%, 39%
CMYK
82, 88, 0, 30
Luminance
0.0410

Every format

HEX#2016b2
RGBrgb(32, 22, 178)
HSLhsl(244, 78%, 39%)
CMYKcmyk(82%, 88%, 0%, 30%)
LABlab(24.0 54.9 -77.2)
LCHlch(24.0 94.7 305.4)
OKLCHoklch(0.369 0.223 270.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2016b2 on white: 11.54:1
AA ✓ pass · AA-large · AAA
Aa
#2016b2 on black: 1.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green8.6%
Blue69.8%

CMYK percentages

Cyan82.0%
Magenta87.6%
Yellow0.0%
Key (black)30.2%

Color previews

#2016b2 text on a black background

contrast 1.82:1

Card sample

#2016b2 text on a white background

contrast 11.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2016b2;
Background color
Panel with #2016b2 background
background-color: #2016b2;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(32, 22, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 22, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2016b2;
background: linear-gradient(135deg, #2016b2, #8816B2);

Monochromatic scale

Palettes built from #2016b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2016b2 in the Color Lab