#1F272E Hex Color

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

Hex color #1f272e graphic
This desaturated, near-black shade carries a cool, dusty blue undertone that feels grounded and serious. As a dominant base, #1f272e provides a sophisticated alternative to pure black for UI backgrounds, especially when paired with high-contrast text for accessibility. It holds enough depth to anchor moody, tech-focused designs without appearing flat. The hex code for this dim color is #1f272e.

Questions about #1f272e

What is #1f272e in RGB, HSL and CMYK?
In RGB, #1f272e is rgb(31, 39, 46), in HSL hsl(208, 19%, 15%) and in CMYK 33%, 15%, 0%, 82%. Browse more shades of black with names and hex codes.
When should I use #1f272e over pure black?
Use #1f272e when you need the grounded weight of black without the harshness of pure ink. Its subtle blue undertone softens the visual impact, making it ideal for large-scale UI backgrounds and high-contrast text that requires better readability.
What color schemes work best with #1f272e?
Because of its neutral, near-black character, #1f272e pairs exceptionally well with muted earth tones or vibrant accent colors. It creates a professional foundation when combined with cream or sage, providing a balanced, sophisticated aesthetic that anchors complex digital layouts.
Is #1f272e readable on white or black?
#1f272e has a 15.13:1 contrast ratio on white and 1.38: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.