Onyx
Introducing Onyx (#0F0F0F), a deep, near-absolute black with a quiet intensity. Its subtle warmth distinguishes it from pure black, offering a sophisticated and solid foundation for any design palette. This distinction makes it a compelling choice for modern interfaces seeking depth and character.
What color is Onyx?
Onyx is a profound, charcoal gray that sits just shy of absolute black.
It presents a cool, neutral character, completely free of any discernible hue or undertone.
What meaning does the color Onyx convey in UI design?
The color Onyx, with its near-black depth, embodies sophistication, power, and formality. It carries a sense of protective strength and authority, making it a symbol of seriousness and elegance in design.
Historically, its name is tied to the Onyx gemstone, fabled to be the fingernails of the goddess Venus, turned to stone by the gods, adding a layer of mythic permanence and divine origin to its modern interpretation.
How can I effectively use Onyx in UI design?
With its near-black value of #0F0F0F, Onyx is a powerful foundation for creating visual hierarchy and contrast. Use it as a background in dark mode interfaces to make accent colors stand out, or as a primary text color on light surfaces for excellent readability. It pairs well with both vibrant neons for a bold statement and softer, desaturated tones for a more understated and elegant feel.
This deep, commanding shade is a popular choice for brands aiming for a premium, focused aesthetic. Companies like CRED, Coda, and Pinterest use similar dark tones to build modern interfaces that feel both sophisticated and grounded, signaling stability and quality.
You can explore curated palettes, test color contrast for accessibility, and preview Onyx in real UI components from top brands using the tools below.
Using Onyx color codes
The most common way to specify Onyx digitally is with its hex code, #0F0F0F. As a deep, near-black shade, it provides a strong foundation for high-contrast designs without the starkness of pure black.
While hex codes are standard for web development, you will often need to translate #0F0F0F into other formats. For digital displays, you will use its RGB (Red, Green, Blue) values, which define the intensity of light on a screen. For print projects, you will need the CMYK (Cyan, Magenta, Yellow, Key/Black) values, which correspond to ink mixtures.
To make things easy, we've converted #0F0F0F into a variety of popular color models. You can find and copy the exact codes you need for your project in the sections that follow.
Analogous
Built around Onyx, analogous color schemes group adjacent colors from the color wheel, resulting in a composition that feels both cohesive and tranquil.
Complementary
Complementary colors are direct opposites on the color wheel. When set against a neutral foundation like Onyx, they create a vibrant, high-contrast pairing.
Split Complementary
A split complementary scheme pairs Onyx with the two colors adjacent to its direct complement, offering a vibrant yet balanced palette.
Triadic
A triadic combination pairs Onyx with two other colors, all equidistant on the color wheel, resulting in a bold and balanced visual effect.
Tetradic
Tetradic palettes are built from two pairs of complementary colors. These schemes create a rich, versatile effect when designed around a base like Onyx.
Square
A square color scheme pairs Onyx with three other colors, all equidistant on the color wheel, creating a vibrant and high-contrast palette.
Text Color
Background Color
Your Catchy Large Text Goes Here
Shades
Shades are darker variations of Onyx, made by mixing in black for added gravity.
Tints
By mixing white with Onyx, you create tints—lighter variations that introduce a gentle softness.
Tones
Adding gray to Onyx produces tones, which are subtle variations with reduced saturation.
Hues
Hues are Onyx variations with differing intensity or temperature, creating distinct visual moods.
Never run out of inspiration again.
Use Mobbin for free as long as you like or get full access with any of our paid plans.



































































































































