I just built a new PC with a Ryzen 5 3600X, an ASUS Prime A320M-K and 2x8GB RAM of 3000 MHz. Both the CPU and the motherboard support 3000 MHz as far as I understand from their specs, but when I checked the speed of the RAM I found that it's running at 2666 MHz.
Here is the information about the memory according to CPU-Z:
Why is that? Maybe some configuration of one of the three components I named above? Can I make it work faster to take advantage of its whole capabilities?