While they're not the same type of liquor, you can substitute one for the other. It will change the flavor of the drink a little bit because Blue Curacao is more bitter than triple sec.