Cobalt curtain, indigo bedding, warm yellow shade. The room hangs together because the blues occupy different amounts of space. You can borrow that proportion with a single pillowcase.
Here, blue runs from the curtain into the bedding. The brightest thing in the room is the shade beside the bed. You can try that balance with textiles you already own.
Find the lightest edge
Look at where the pillow meets the curtain. If the two blues merge from the doorway, fold a pale sheet over the top of the quilt and leave a narrow band showing. Widen it until you can read the outline of the bed. The same test works with olive and sage, or charcoal and grey.
Give the accent one job
Move a warm-coloured book or cushion beside the bed and leave the rest of the room alone. Take it away again. If you miss that spot of warmth, you have learned more about the room than a new set of matching accessories could tell you.
Local notes & practical details
Field note
Try it in your own life
The bedside shade makes one small patch of yellow in this blue room. To try the effect, hang one blue shirt near the curtain and put a yellow book or bowl on the bedside surface. Look from the doorway with the lamp you already use switched on.
If the bedding disappears into the curtain after dark, drape a pale pillowcase over the pillow and look again before choosing paint.