There are several design options you have when it comes to your paint, and they will all look good. There is no single "right" or "wrong" way. Which one you choose depends on what you want in your space.
Option 1: You can paint the trim using the same paint as the walls. This will create a seamless look and allows the eye to take in the entire wall from ceiling to floor with no harsh cut-off points, and will make the space appear larger.
If you are looking for contrast, you can paint either lighter or darker:
Option 2: Paint the trim lighter can make the room feel lighter and brighter. It will make the walls feel like they are receding so it helps create the feeling of the room being larger than it is.
Option 3: Painting the trim a few shades darker will create a sense of depth. You may want to do this to create a contrasting look to bring attention to your windows, doors, and frames -- this may be especially desirable if you have interesting architectural details that you want to stand out.
Keep in mind that different factors such as lighting, the floor color, texture, the size of the room, and furniture or other articles in your room may affect the way color is perceived in your space. In a small space with only artificial light, colors generally appear darker than they do in well-lit spaces, so that may make things look a little different in your bathroom or hallway compared to a sunroom with lots of natural light coming in through the windows.
We would recommend that you use our color chart, by holding up the swatches next to your wall and see which you like best in your space. There are so many good pairings, and all of our colors are designed to complement each other well, so whatever you choose should look good. You are the best person to determine the color since you are physically able to observe the surface and compare it to the color chart in person. Trust your eyes!