What's the optimum rim width for someone looking to use 28-38c tyres? currently using 24mm but feel I'd benefit from something wider.
You could go up to a 28mm external width rim with 28mm tyres. Assuming you're looking at 28C road tyres and 38C knobblies (not really CX, as they are too wide for UCI racing), you should be alright with 28mm rims. Going too wide on the rims with knobblies can be troublesome because the tread design will probably have been designed for a more rounded tyre profile. Past about ⅔ of nominal tyre width, you're getting experimental
You could go up to a 28mm external width rim with 28mm tyres. Assuming you're looking at 28C road tyres and 38C knobblies (not really CX, as they are too wide for UCI racing), you should be alright with 28mm rims. Going too wide on the rims with knobblies can be troublesome because the tread design will probably have been designed for a more rounded tyre profile. Past about ⅔ of nominal tyre width, you're getting experimental