Skip to content

#2016ac

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

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

Every format

HEX#2016ac
RGBrgb(32, 22, 172)
HSLhsl(244, 77%, 38%)
CMYKcmyk(81%, 87%, 0%, 33%)
LABlab(23.2 53.1 -74.8)
LCHlch(23.2 91.8 305.4)
OKLCHoklch(0.362 0.216 270.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2016ac on white: 11.85:1
AA ✓ pass · AA-large · AAA
Aa
#2016ac on black: 1.77:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan81.4%
Magenta87.2%
Yellow0.0%
Key (black)32.5%

Color previews

#2016ac text on a black background

contrast 1.77:1

Card sample

#2016ac text on a white background

contrast 11.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2016ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2016ac in the Color Lab