Skip to content

#242021

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

RGB
36, 32, 33
HSL
345°, 6%, 13%
CMYK
0, 11, 8, 86
Luminance
0.0152

Every format

HEX#242021
RGBrgb(36, 32, 33)
HSLhsl(345, 6%, 13%)
CMYKcmyk(0%, 11%, 8%, 86%)
LABlab(12.7 2.1 0.0)
LCHlch(12.7 2.1 0.3)
OKLCHoklch(0.248 0.006 0.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red14.1%
Green12.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta11.1%
Yellow8.3%
Key (black)85.9%

Color previews

#242021 text on a black background

contrast 1.30:1

Card sample

#242021 text on a white background

contrast 16.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #242021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #242021 in the Color Lab