Huebook

Onyx

Onyx is a very dark neutral gray color with the hex code #464544 (hue 30°, saturation 1%, lightness 27%).

#464544
NameHEXRGBHSLCMYKOKLCH
Onyx#46454470, 69, 6830°, 1%, 27%0, 1, 3, 7339.1% 0.002 68

Contrast with white text 9.57:1, with black text 2.20:1 — use white text on Onyx.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Onyx

Move the sliders to make Onyx lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Onyx
  • HEX#464544
  • RGBrgb(70 69 68)
  • HSLhsl(30 1% 27%)

Variations of Onyx

Text on Onyx

White textThe quick brown fox9.57:1 · AA pass · AAA pass
Black textThe quick brown fox2.20:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Onyx with color blindness

Normal #464544
Protanopia #454544
Deuteranopia #464544
Tritanopia #464545

How Onyx appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#E6E6E5
#C0BFBE
#9A9998
#747371
#4E4C4B
#272626

Colors that go with Onyx

Six color schemes built on Onyx with classic harmony rules. The complementary scheme pairs it with Aristocratic Blue (#354655), the color opposite it on the color wheel.

Nearest CSS named colors

Similar dark gray colors

Questions

What is the hex code for Onyx?

#464544 — RGB 70, 69, 68, HSL 30°, 1%, 27%.

Is Onyx a warm or cool color?

Warm — its hue sits at 30° on the color wheel.