Skip to content

#161a27

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

RGB
22, 26, 39
HSL
226°, 28%, 12%
CMYK
44, 33, 0, 85
Luminance
0.0106

Every format

HEX#161a27
RGBrgb(22, 26, 39)
HSLhsl(226, 28%, 12%)
CMYKcmyk(44%, 33%, 0%, 85%)
LABlab(9.4 2.2 -9.5)
LCHlch(9.4 9.7 283.3)
OKLCHoklch(0.220 0.026 270.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#161a27 on white: 17.34:1
AA ✓ pass · AA-large · AAA
Aa
#161a27 on black: 1.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.6%
Green10.2%
Blue15.3%

CMYK percentages

Cyan43.6%
Magenta33.3%
Yellow0.0%
Key (black)84.7%

Color previews

#161a27 text on a black background

contrast 1.21:1

Card sample

#161a27 text on a white background

contrast 17.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #161a27

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #161a27 in the Color Lab