#30313D Hex Color

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

Hex color #30313d graphic
This dusty, inky shade sits between dark grey and muted indigo. The hex code #30313d projects serious, moody energy, making it an excellent choice for dark mode UI backgrounds. Because it is highly legible against white text, it works well for body content. Pair it with soft cream or warm metallics to cut its starkness and prevent the color from feeling too cold.

Questions about #30313d

What is #30313d in RGB, HSL and CMYK?
In RGB, #30313d is rgb(48, 49, 61), in HSL hsl(235, 12%, 21%) and in CMYK 21%, 20%, 0%, 76%. Browse more shades of black with names and hex codes.
How should I use #30313d in a website interface?
#30313d works best as a background color for dark mode designs where you need something softer than pure black. It offers a sophisticated, professional mood that pairs beautifully with cream text to reduce eye strain while maintaining high contrast.
Does #30313d read as a warm or cool color?
Because of its indigo undertones, #30313d reads as a cool, grounded neutral. You can easily balance this chilliness by pairing it with warm metallic accents or soft off-white hues to create a more inviting and less sterile visual experience.
Is #30313d readable on white or black?
#30313d has a 12.86:1 contrast ratio on white and 1.63: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.