A new synthetic approach to 8-chloroflavins and their conversion into 8-(substituted-amino)flavins.