I bought these and I really like them - https://www.amazon.com/gp/product/B07QV6SF6T/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
The are just above the knee and do not ride up. Everything I buy that is not below my quad tends to ride up. Another good brand I own are from Virus Intl. They cost $30 for 1 pair, but they provide a lot more compression than the cheaper ones. But for the money you really can't beat these Amazon ones. I'm also 5'11", 185#, and I wear a 32 waist in pants/shorts. I purchased size M.