Onyx #353839
Onyx color codes
Onyx color meaning
Onyx is a deep and serious gray — a neutral color at 22% lightness and 4% saturation. Like other neutrals, it is linked with neutrality, sophistication and balance. Grays and blacks are the quiet backbone of most designs, adding structure and elegance without competing for attention.
Because it is deep and serious, onyx works best for text, headings, luxury branding, accent walls and evening wear. It is dark enough to use for text on a white page (11.8:1 contrast).
What colors go with Onyx?
Onyx pairs well with Saddle Brown, Teal, Dark Slate Blue and Linen: Saddle Brown sits close to its opposite on the color wheel for strong contrast, Teal and Dark Slate Blue are neighbors that keep a scheme calm, and Linen gives the eye somewhere to rest.
Build a full scheme around onyx in the color matcher, blend it with another color in the color mixer, or copy ready-made HTML and CSS from the HTML color picker.
Onyx at a glance
| Color family | Gray & Black · neutral, deep and serious |
|---|---|
| CSS color name | No — nearest keyword is Dark Slate Gray (#2F4F4F) |
| As text on white | 11.82:1 — passes WCAG AAA |
| Best text on it | White (11.82:1) |
| For print (CMYK) | 7% cyan, 2% magenta, 0% yellow, 78% black |
| Full screen | Open the onyx screen — fill your display or download it in 4K |
Contrast
Contrast ratio of Onyx against white and black text (WCAG 2.1 needs 4.5:1 for body text).
Shades, tints & tones
Color harmonies
Colors similar to Onyx
Onyx color FAQ
What is the hex code for Onyx?
Onyx is #353839, which is rgb(53, 56, 57) and hsl(195, 4%, 22%). For print it is roughly C7 M2 Y0 K78.
What colors go with Onyx?
Onyx pairs well with Saddle Brown, Teal, Dark Slate Blue, Linen. Saddle Brown gives the strongest contrast, being close to its complementary color. Neutrals such as Linen also work well alongside it.
Is Onyx a warm or cool color?
Onyx is close to neutral — it has very little saturation (4%), so it sits comfortably next to both warm and cool colors.
What text color looks best on Onyx?
White text, with a contrast ratio of 11.8:1, which meets WCAG AA for normal text. Onyx itself is also readable as text on white (11.8:1).