Hard x-ray experiments, such as high-resolution imaging and scattering of complex materials, increasingly demand pulses from x-ray free-electron lasers (XFELs) with high photon energy, high spectral density, and narrow bandwidth. Here, we report the demonstration of hard x-ray self-seeding at 18 keV at the European XFEL. This demonstration narrows the bandwidth to 0.8 eV, compared with 20.5 eV in self-amplified spontaneous emission operation, and increases the average spectral density by a factor of 6, reaching within the same experimental campaign. To advance narrow band operation toward even higher photon energies, we explore the harmonic generation mechanism in self-seeding mode, utilizing the second-harmonic generation self-seeding (SHGSS) scheme, where an initial seed is established at half the target photon energy and the harmonic is coherently amplified downstream. Start-to-end simulations at the 30 keV frontier revealed that while direct self-seeding yielded negligible amplification under typical experimental beam conditions, the SHGSS scheme could deliver an average spectral density of approximately with a 0.25 eV bandwidth using the beamline supplemented with superconducting undulators. With these goals in mind, we experimentally investigated SHGSS at 15 and 18 keV, providing the first proof-of-principle for this scheme. Our results are expected to support cutting-edge experiments in materials science, structural biology, and beyond.