Onyx

Also known as: Ravenwood, Medium Black, Machine Gun Metal, Wood Charcoal

Onyx is what happens when gray turns rich and muted. The effect is balanced and versatile, made for minimal interfaces and architecture. Match it with gray accents when the design calls for energy over calm. Accessibility-wise, it clears AA for text on white at 9.57:1.

Onyx color codes

HEX
#464544
RGB
rgb(70, 69, 68)
RGBA
rgba(70, 69, 68, 1)
HSL
hsl(30, 1%, 27%)
HSV
hsv(30, 3%, 27%)
CMYK
cmyk(0%, 1%, 3%, 73%)
LAB
lab(29.4 0.3 0.8)
OKLCH
oklch(39.1% 0.002 67.8)

Color intelligence

sRGB safe

Displays accurately on every screen and translates well to print.

Temperature

CoolWarm

neutral, leaning warm

Nearest standard colors

  • CSS: dimgray#696969 · ΔE 12.7
  • RAL 8019 — Grey brown#3F3A3A · ΔE 4.3 · approximate

RAL values are widely published approximations of the physical standard. For Pantone-adjacent workflows, match by eye against a physical fan deck — Pantone's values are proprietary and device-dependent, so we don't print lookups.

Where Onyx works

  • Web & UI: Dark enough for body text and icons on white backgrounds — it passes WCAG AA as-is.
  • Interiors: Strong for a whole room, excellent in doses: an accent wall, cabinetry, or a statement chair.
  • Fashion: A wardrobe neutral: it anchors outfits and pairs with nearly any accent color.
  • Branding: Craft and heritage material — coffee, leather goods, and premium packaging live here.
  • Web & UI: A supporting-cast color for UI: chart fills, tags, empty-state illustrations — not text.
  • Fashion: Wears best as the statement piece — a top, scarf, or shoes — against neutral basics.

Copy as — every ecosystem

Tints, shades, and tones of Onyx

Tints (lighter)

Shades (darker)

Tones (muted)

Color harmonies

Palettes built from Onyx by rotating its hue in OKLCH space. Click any swatch to copy its hex code.

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Monochromatic

Contrast & accessibility

Aa — on white

contrast 9.57:1

AA passAAA passAA large pass

Aa — on black

contrast 2.20:1

AA failAAA failAA large fail

Best text color on a Onyx background: #ffffff

Palettes featuring Onyx

Onyx with its complement

Soft neighbors of Onyx

Onyx triad

Similar colors

Looking for maximum contrast instead? The complement of Onyx is closest to Vulcanised.

Onyx FAQs

What color is Onyx?

Onyx is a dark gray with the hex code #464544. In HSL terms it has a hue of 30°, 1% saturation, and 27% lightness.

What is the hex code for Onyx?

The hex code for Onyx is #464544. In RGB it's rgb(70, 69, 68), and in CMYK it's cmyk(0%, 1%, 3%, 73%).

What colors go well with Onyx?

Onyx pairs naturally with gray tones from its complementary harmony. Its own tints and shades always work as a monochrome scheme.

Got a photo with a color like this? Identify it with the analyzer — free, instant, private.