With the pedestals where you collect the books (with the 2 malachite ore veins), notice there is a candle holder beside each one with a different number of candles (1, 3 or 5). The empty pedestals also each have a candle holder beside them...
If the order is not dark/blue/red from left to right, then it is dark/red/blue (I'm pretty sure the dark book is on the left as you approach the empty pedestals). Anyway, try swapping the centre/right books.
Welcome to the forum.
