If you're familiar with gcode, you can slice the yellow and two blue stls separately, then combine the codes to print the yellow, then apply Z offset, then print one blue, then the other; however, this won't work if the blue parts are too close - the nozzle will crash into the first when printing the second.