Onyx

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

Onyx color codes graphic
Onyx is a dense, charcoal grey that reads as serious and grounded. Because it offers strong contrast against white text, #464544 works best as a primary background color for modern dark-mode interfaces or minimalist typography. Avoid using it alongside other near-black tones, as it can look muddy. Instead, pair it with muted metallics or stark white to maintain crisp visual hierarchy.

Questions about Onyx

What is the hex code for Onyx?
Onyx is #464544. In RGB that is rgb(70, 69, 68), in HSL hsl(30, 1%, 27%) and in CMYK 0%, 1%, 3%, 73%.
Does #464544 work better as a background or text color?
Onyx #464544 functions best as a background color for dark-mode interfaces, offering a softer alternative to pure black. When used for text, ensure you pair it against a very light background to maintain the strong visual hierarchy required for readability.
What colors pair well with Onyx #464544?
Onyx #464544 pairs best with stark white for high contrast or muted metallics like silver or bronze to add depth without looking muddy. Avoid pairing it with other dark, near-black tones, as the lack of contrast can make the overall design feel cluttered.
Is Onyx readable on white or black?
Onyx has a 9.56:1 contrast ratio on white and 2.19: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.