Skip to content

#161627

a deep, soft blue · warm · closest name: black

RGB
22, 22, 39
HSL
240°, 28%, 12%
CMYK
44, 44, 0, 85
Luminance
0.0089

Every format

HEX#161627
RGBrgb(22, 22, 39)
HSLhsl(240, 28%, 12%)
CMYKcmyk(44%, 44%, 0%, 85%)
LABlab(8.1 5.3 -11.7)
LCHlch(8.1 12.8 294.5)
OKLCHoklch(0.209 0.033 283.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#161627 on white: 17.82:1
AA ✓ pass · AA-large · AAA
Aa
#161627 on black: 1.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.6%
Green8.6%
Blue15.3%

CMYK percentages

Cyan43.6%
Magenta43.6%
Yellow0.0%
Key (black)84.7%

Color previews

#161627 text on a black background

contrast 1.18:1

Card sample

#161627 text on a white background

contrast 17.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #161627

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #161627 in the Color Lab