Skip to content

#171729

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

RGB
23, 23, 41
HSL
240°, 28%, 13%
CMYK
44, 44, 0, 84
Luminance
0.0096

Every format

HEX#171729
RGBrgb(23, 23, 41)
HSLhsl(240, 28%, 13%)
CMYKcmyk(44%, 44%, 0%, 84%)
LABlab(8.6 5.6 -12.3)
LCHlch(8.6 13.5 294.6)
OKLCHoklch(0.214 0.035 283.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#171729 on white: 17.63:1
AA ✓ pass · AA-large · AAA
Aa
#171729 on black: 1.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green9.0%
Blue16.1%

CMYK percentages

Cyan43.9%
Magenta43.9%
Yellow0.0%
Key (black)83.9%

Color previews

#171729 text on a black background

contrast 1.19:1

Card sample

#171729 text on a white background

contrast 17.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #171729

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #171729 in the Color Lab