Skip to content

#172021

a deep, soft cyan · cool · closest name: black

RGB
23, 32, 33
HSL
186°, 18%, 11%
CMYK
30, 3, 0, 87
Luminance
0.0132

Every format

HEX#172021
RGBrgb(23, 32, 33)
HSLhsl(186, 18%, 11%)
CMYKcmyk(30%, 3%, 0%, 87%)
LABlab(11.4 -3.7 -2.0)
LCHlch(11.4 4.2 208.4)
OKLCHoklch(0.235 0.013 204.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#172021 on white: 16.60:1
AA ✓ pass · AA-large · AAA
Aa
#172021 on black: 1.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green12.5%
Blue12.9%

CMYK percentages

Cyan30.3%
Magenta3.0%
Yellow0.0%
Key (black)87.1%

Color previews

#172021 text on a black background

contrast 1.26:1

Card sample

#172021 text on a white background

contrast 16.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #172021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #172021 in the Color Lab