Skip to content

#232021

a deep, muted gray · warm · closest name: black

RGB
35, 32, 33
HSL
340°, 5%, 13%
CMYK
0, 9, 6, 86
Luminance
0.0150

Every format

HEX#232021
RGBrgb(35, 32, 33)
HSLhsl(340, 5%, 13%)
CMYKcmyk(0%, 9%, 6%, 86%)
LABlab(12.6 1.7 -0.2)
LCHlch(12.6 1.7 354.2)
OKLCHoklch(0.247 0.005 355.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#232021 on white: 16.15:1
AA ✓ pass · AA-large · AAA
Aa
#232021 on black: 1.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red13.7%
Green12.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta8.6%
Yellow5.7%
Key (black)86.3%

Color previews

#232021 text on a black background

contrast 1.30:1

Card sample

#232021 text on a white background

contrast 16.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #232021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #232021 in the Color Lab