I spent a little time looking at your colors, and unfortunately I think this is a case where the higher contrast in dark themes was working well for your specific color scheme, despite being slightly off in our defaults.
In Discourse we take the primary color in the settings and shift it to 5 different contrast variables (in this case I adjusted primary-low to have ~10% less contrast in dark themes, which more accurately matches the contrast ratio in light themes overall).
In your case the primary-low we generate now happens to be really close to your secondary color. If you shift primary or secondary a little darker things get better, but since the goal with the change was to reduce contrast slightly that color is always going to look a bit darker than it was.
If you change your primary color to the darker c2c2cb you end up with a better contrast level, but in the opposite direction.
If you use a darker color for secondary (for example, your header background color 26262B) you end up a bit closer to where you were originally (albeit with a darker background).

