#1F2022 Hex Color

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

Hex color #1f2022 graphic
This near-black grey provides a serious, muted anchor for dark interface design. Because it lacks strong saturation, #1f2022 works well as a background that feels less harsh than pure black. It offers excellent contrast for white typography, making it a functional choice for modern UI layouts. The hex code for this neutral tone is #1f2022.

Questions about #1f2022

What is #1f2022 in RGB, HSL and CMYK?
In RGB, #1f2022 is rgb(31, 32, 34), in HSL hsl(220, 5%, 13%) and in CMYK 9%, 6%, 0%, 87%.
Why use #1f2022 instead of pure black in UI design?
Using #1f2022 prevents the harsh visual strain often caused by absolute black backgrounds in digital interfaces. This subtle charcoal shade provides a softer, more sophisticated foundation that enhances text legibility and reduces eye fatigue during extended use.
What colors pair well with #1f2022 for a modern look?
Because #1f2022 is a highly neutral dark tone, it pairs exceptionally well with high-contrast accent colors like electric blue or soft, muted sage green. It creates a professional, grounded canvas that allows vibrant primary or secondary UI elements to stand out.
Is #1f2022 readable on white or black?
#1f2022 has a 16.30:1 contrast ratio on white and 1.28: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.