Onyx Color

Onyx is a dark gray with hex code #353839. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.

#353839RGB 53 56 57
Onyx#353839

Onyx color codes

HEX#353839
RGBrgb(53, 56, 57)
HSLhsl(195, 4%, 22%)
HSV195°, 7%, 22%
CMYK7%, 2%, 0%, 78%
OKLCHoklch(33.8% 0.004 219.6)
Tailwindbg-[#353839]

Closest Tailwind colour: neutral-700 (#404040). Convert any colour in the Color Converter.

About Onyx

Onyx (#353839) is a dark gray. In the RGB model it is 21% red, 22% green and 22% blue; its hue angle is 195°, with 4% saturation and 22% lightness. For print, the CMYK equivalent is 7% cyan, 2% magenta, 0% yellow and 78% black.

It is a neutral colour and appears in our shades of gray and shades of black. Text on it reads best in white (11.8:1 contrast).

Onyx tints and shades

Tints mix onyx with white; shades mix it with black. Click to copy.

10%
20%
30%
40%
50%
60%
70%
80%
90%
Base
-10%
-20%
-30%
-40%
-50%
-60%
-70%
-80%
-90%

Colors that go with Onyx

Onyx is a neutral, so it works with almost any colour. These pairings use its tone with a hue added.

Complementary

Onyx

Analogous

Onyx

Triadic

Onyx

Split complementary

Onyx

Onyx contrast

White text11.82:1
  • AA text pass
  • AAA text pass
  • AA large pass
Black text1.78:1
  • AA text fail
  • AAA text fail
  • AA large fail

Using Onyx in CSS

.brand {
  color: #353839;
}
.button {
  background: #353839;
  color: #fff;
}
.hero {
  background: linear-gradient(135deg, #7c7e7e, #353839, #222425);
}

Similar colors

Gradients with Onyx

Exact matchTemporal

Temporal

Exact matchOura

Oura

Exact matchWhoop

Whoop

More gradients near #353839 →

Onyx FAQ

What color is Onyx?

Onyx is a dark gray. Its hex code is #353839 and it is a neutral colour.

What is the hex code for Onyx?

The hex code for Onyx is #353839. In RGB that is rgb(53, 56, 57), and in HSL hsl(195, 4%, 22%).

What is Onyx in CMYK?

Onyx is roughly C 7%, M 2%, Y 0%, K 78% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.

What colors go well with Onyx?

Onyx is a neutral and pairs with almost any colour; one saturated accent usually looks best.

Is white or black text better on Onyx?

White text reads better on Onyx: 11.8:1 contrast, against 1.8:1 for black. WCAG asks for 4.5:1 for body text.

Browse colors