Onyx color: hex code #353935

#353935 rgb(53, 57, 53)
Shades of gray

Onyx has the hex code #353935. It is a dark gray.

In the RGB color model it is made of 20.8% red, 22.4% green and 20.8% blue (53, 57, 53).

Its hue angle is 120°, with 4% saturation and 22% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 7% yellow and 78% black.

White text is the more readable choice on this background (contrast 11.74:1).

Onyx (#353935) color codes

HEX#353935
RGBrgb(53, 57, 53)
RGB percentrgb(20.8%, 22.4%, 20.8%)
HSLhsl(120, 4%, 22%)
HSV / HSBhsv(120, 7%, 22%)
CMYKcmyk(7%, 0%, 7%, 78%)
CIE LABlab(23.47, -2.63, 1.91)
CIE LCHlch(23.47, 3.25, 144.1)
CIE XYZxyz(3.574, 3.94, 3.94)
Decimal3488053
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Onyx, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #353935RatioAAAAAAA large
Sample text1.79:1FailFailFail
Sample text11.74:1PassPassPass
#353935 as text onRatioAAAAAAA large
Sample text11.74:1PassPassPass
Sample text1.79:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #353935 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #353935; }
.text { color: #353935; }
.border { border: 2px solid #353935; }
.transparent { background-color: rgb(53 57 53 / 50%); }
.gradient { background: linear-gradient(to right, #353935, #353937); }
Background
Text color
Border

Similar colors

See #353935 on its hex code page

Questions

What color is #353935?
#353935 is a dark gray known as Onyx. It belongs to the gray family of colors.
What is the RGB value of Onyx?
The RGB value is 53, 57, 53: 53 red, 57 green and 53 blue on a 0 to 255 scale.
What is the complementary color of Onyx?
The complementary color is #393539, found by rotating the hue 180° on the color wheel.
Is black or white text better on #353935?
White text. Black text has a contrast ratio of 1.79:1 and white text 11.74:1. WCAG asks for at least 4.5:1 for normal text.