Named after onyx, a semi-precious stone with dark bands. It's a soft black with a little gray. It's used in jewelry, appliances and luxury finishes.
Also known as: onyx black.
The hex code for onyx is #353839. In RGB it is rgb(53, 56, 57), in HSL hsl(195, 4%, 22%) and in CMYK 7, 2, 0, 78.
Pick a color to pair it with and see how it looks on clothes, interiors and design.
Onyx (#353839) is a neutral, dark, almost unsaturated color. It belongs to the blacks family. It mixes 53 red, 56 green and 57 blue (out of 255). It is mostly used in jewelry, tech, home decor.

From lightest to darkest. Tap a shade to copy its code.
See all its shades: Color shades generator
Outfit palettes with onyx or a very close shade, each with 8 outfits to copy.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--onyx: #353839;
--onyx-rgb: 53, 56, 57;
}
.bg { background-color: var(--onyx); }
.text { color: var(--onyx); }
The hex code for onyx is #353839. In RGB it is rgb(53, 56, 57), in HSL hsl(195, 4%, 22%) and in CMYK 7, 2, 0, 78.
Its complement on the color wheel is #393635, close to jet black. Used in small doses, it works as an accent and adds strong contrast.
Yes. The contrast with white is 11.8:1, enough for body text (WCAG AA).
We use Google Analytics cookies to understand how the site is used. Is that OK? Learn more