Onyx
#353839The onyx hex code is #353839, and its RGB value is 53, 56, 57.
Onyx is named after the banded gemstone, best known in its black form. #353839 is the reference value, a deep charcoal rather than pure black, which makes it a comfortable color for dark interfaces. White text on it reaches 11.8:1.
Onyx color codes
Shades of onyx
Ten lighter and ten darker shades of onyx, with onyx in the middle. Click a shade to copy its hex code.
Readability
- Passes AA normal
- Passes AA large
- Passes AAA normal
- Passes AAA large
- Fails AA and AAA
Colors that go with onyx
Complementary
The opposite on the color wheelAnalogous
Its two neighborsTriadic
Three evenly spaced colorsSplit-complementary
The two colors beside its oppositeOnyx color palettes
Monochrome
Lighter and darker versions of the same color.Analogous
Neighbors on the color wheel, for a calm, related look.Complementary
The color with its opposite, for strong contrast.Triadic
Three colors evenly spaced around the wheel, with a light and dark version.Onyx background
Plain and gradient onyx backgrounds for phone and desktop wallpapers, slides and mockups, free to download.
Similar colors
- Jet Black#343434
- Dark Charcoal#333333
- Gunmetal#2A3439
- Black Olive#3B3C36
- Matte Black#28282B
- Charcoal Gray#36454F
- Charcoal Black#202022
- Soot Black#1F1F1F
Questions about onyx
What is the hex code for onyx?
The hex code for onyx is #353839. In RGB it's rgb(53, 56, 57), and in HSL it's hsl(195, 4%, 22%).
What is the RGB value of onyx?
Onyx is rgb(53, 56, 57) in RGB: 53 red, 56 green and 57 blue on a 0-255 scale.
What colors go with onyx?
Its complementary color is #393635. For a calmer look, try the analogous colors #353938 and #353639, or one of the palettes above, which all include onyx.
Is text readable on onyx?
White text is the better choice, with a contrast ratio of 11.82:1. That passes WCAG AA for normal text.