Black Friday 2026: design deals we check every day. See the deals →

#212327 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

 
#212327
Hex color #212327 graphic
This dark, neutral grey functions as a softer alternative to pure black. Because white text maintains a strong 15.7:1 contrast ratio against it, #212327 is a reliable choice for dark mode UI backgrounds. Use this hex code to anchor minimal layouts or moody branding without the starkness of true black. It grounds compositions while keeping a professional, understated appearance.

Color Conversions

Hex color #212327 converted to various formats including hex, rgb, hsl, and more.

  • Hex#212327
  • RGBrgb(33, 35, 39)
  • RGB Percentagesrgb(13%, 14%, 15%)
  • CMYK15%, 10%, 0%, 85%
  • HSLhsl(220, 8%, 14%)
  • HSVhsv(220, 15%, 15%)
  • OKLCHoklch(25.6% 0.008 264.4)
  • LCH14, 3, 273
  • LAB14, 0, -3
  • LUV14, -1, -3
  • XYZ2, 2, 2
  • Closest Tailwind Colorneutral-800

Color Variations

Variations of this color including shaded, tints, and complementary colors.

Brighten

Tints of the color as they brighten toward white.

#212327
#333539
#47494c
#5c5d61
#717275
#87888b
#9e9fa1
#b5b6b8
#cdcecf
#e6e6e7

Darken

Shades of the color as they darken toward black.

#212327
#1b1d20
#16171a
#101114
#0b0c0e
#060708
#030404
#010102
#000001
#000000

Desaturate

Desaturated versions of this color.

#212327
#2a2b2f
#323437
#3b3d40
#454649
#4e4f51
#58595a
#616264
#6b6c6d
#767676

Hue

Various hues of this color.

#272125
#262127
#242127
#212127
#212327
#212527
#212726
#212723
#212721

Analogous

Analogous color palette of this color, meaning colors that are next to each other on the color wheel.

#212327
#212527
#212427

Monochromatic

Monochromatic colors for this color, monochromatic colors are all of the same hue.

#212327
#454951
#696f7c
#8d95a6
#b1bcd1
#d5e2fb

Complementary

Complementary colors for this color, complementary colors are opposites on the color wheel.

#212327
#272521

Split Complement

Split-complementary colors which use adjacent colors of this color’s complementary color.

#212327
#262127
#252721

Triad

Triad colors which pull themselves in a triangle across the color wheel.

#212327
#272123
#232721

Tetrad

Tetrad colors which pull themselves in a square shape across the color wheel.

#212327
#272126
#272521
#212722

Contrast Checker

Contrast test results for the color #212327 on black and white backgrounds.
Open in contrast checker →

White Background

Passes AAA
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Black Background

Fails WCAG
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Color Blindness Simulation

See how #212327 appears to people with color vision deficiency (CVD).

Normal Vision
#212327
Protanopia
#232327
Red-blind (~1% of males)
Deuteranopia
#222227
Green-blind (~1% of males)
Tritanopia
#202424
Blue-blind (very rare)
Achromatopsia
#232323
Total color blindness

Questions about #212327

What is #212327 in RGB, HSL and CMYK?
In RGB, #212327 is rgb(33, 35, 39), in HSL hsl(220, 8%, 14%) and in CMYK 15%, 10%, 0%, 85%. Browse more shades of black with names and hex codes.
Why is #212327 a better choice than pure black for UI backgrounds?
Using #212327 creates a more natural visual depth because pure black rarely exists in real-world lighting conditions. This specific grey reduces eye strain during long periods of reading while maintaining excellent accessibility standards for white text.
What colors pair well with the deep grey of #212327?
Because #212327 is a neutral base, it works beautifully with vibrant accent colors like electric blue or warm gold for high-impact buttons. For a more subtle, professional look, try pairing it with muted sage or cool-toned slate blue accents.
Is #212327 readable on white or black?
#212327 has a 15.73:1 contrast ratio on white and 1.33:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.