About 18% of Union combatants died. Applying that percentage to the about 200,000 blacks (approximately 10% of the Union total) who served gives us about 35,000 blacks who died. Haven't been able to find a source that breaks black deaths out separately.
BTW, better than 1/3 of Confederate combatants died during the war. More men on both sides were killed by disease than by combat.