Onyx
Onyx is a very dark neutral gray color with the hex code #464544 (hue 30°, saturation 1%, lightness 27%).
- HEX
#464544 - RGB
rgb(70 69 68) - HSL
hsl(30 1% 27%) - OKLCH
oklch(39.1% 0.002 68)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Onyx | #464544 | 70, 69, 68 | 30°, 1%, 27% | 0, 1, 3, 73 | 39.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.
- HEX
#464544 - RGB
rgb(70 69 68) - HSL
hsl(30 1% 27%)
Variations of Onyx
Text on Onyx
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
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
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.
- Onyx Complementary Color Scheme#464544#927257#354655#181B26#597695
- Onyx Analogous Color Scheme#563342#553333#464544#585538#445533
- Onyx Triadic Color Scheme#464544#395643#473854#967859#12221D
- Onyx Split-complementary Color Scheme#464544#355859#333355#251B19#558484
- Onyx Tetradic Color Scheme#464544#305D35#354655#543254#967859
- Onyx Monochromatic Color Scheme#0F0F0F#1F1C1D#464544#6C6B6A#929291
Nearest CSS named colors
- Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Onyx (relative luminance 0.068 vs 0.060) and more saturated. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Onyx (relative luminance 0.066 vs 0.060) and more saturated. - Dim Gray (
dimgray): Dim Gray (#696969) is lighter than Onyx (relative luminance 0.141 vs 0.060) and equally saturated. - Saddle Brown (
saddlebrown): Saddle Brown (#8B4513) is lighter than Onyx (relative luminance 0.098 vs 0.060) and more saturated.
Similar dark gray colors
- After Dark#3C3535
- After Midnight#38393F
- All Nighter#455454
- Ancient Pine#444B43
- Armadillo#484A46
- Arsenic#3B444B
- Artist’s Charcoal#37393E
- Bark#5F5854
- Black Forest#5E6354
- Black Magic#4F4554
- Black Olive#3B3C36
- Black Orchid#525463
- Black Panther#424242
- Black Truffle#463D3E
- Blackwater#545663
- Blindfolded#5A5E61
- Carbon#333333
- Catch of the Day#6C685E
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.