Skip to content

#2016ab

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

RGB
32, 22, 171
HSL
244°, 77%, 38%
CMYK
81, 87, 0, 33
Luminance
0.0382

Every format

HEX#2016ab
RGBrgb(32, 22, 171)
HSLhsl(244, 77%, 38%)
CMYKcmyk(81%, 87%, 0%, 33%)
LABlab(23.1 52.8 -74.5)
LCHlch(23.1 91.3 305.3)
OKLCHoklch(0.360 0.215 270.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2016ab on white: 11.90:1
AA ✓ pass · AA-large · AAA
Aa
#2016ab on black: 1.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green8.6%
Blue67.1%

CMYK percentages

Cyan81.3%
Magenta87.1%
Yellow0.0%
Key (black)32.9%

Color previews

#2016ab text on a black background

contrast 1.76:1

Card sample

#2016ab text on a white background

contrast 11.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2016ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2016ab in the Color Lab