Blue indicates that the closing price is lower than the opening price, so the upper end of the solid column is the opening price.
Red indicates that the closing price is higher than the opening price, so the upper end of the solid column is the closing price.