A hemoglobin test measures the levels of hemoglobin in your blood. Hgb is a protein produced by your bone marrow that's stored in red blood cells. A hemoglobin test measures the amount of hemoglobin in your blood. A low hemoglobin count is a commonly seen blood test result. An Hgb blood test measures how much hemoglobin a person has in their blood.