Fewer black and Hispanic students qualified to attend one of the city’s eight specialized high schools this year compared to last year, new city Department of Education data show.

The dip — from 733 offers in 2012 to 618 this year — meant black and Hispanic students comprised 12 percent of the total offers from the elite entrance-exam high schools this year, down from 14 percent last year.

The decline comes in the same school year as the NAACP Legal Defense Fund filed a complaint with the U.S. Department of Education charging that the exams create unfair racial and ethnic disparities at schools like Stuyvesant and Bronx Science high schools.

Asian students comprised 50 percent of this year’s offers — up from 46 percent last year — while white students made up 24 percent, up 1 percentage point since 2012.

The race or ethnicity of the remaining students — of the 5,229 who got offers — was not known.