Generally no. For carry on bags you cannot exceed any individual dimension. That's different for checked luggage where there is restriction on the SUM of the dimensions but not any individual dimension. That's basically a function of where the bags go. Carry on must fit in the overhead bin which is very constrained, checked luggage goes into a bulk container or directly in the cargo hold with much more placement flexibility so it's more about overall volume and weight.
Unfortunately there are no real standards and measuring isn't straight forward either. Most airlines have a test container at the counter. If your carry on looks big to the agent, they will ask you to fit it into the container. If it doesn't go in, you will have to check it. Obviously that's not a test you can run at home or in a store when you buy or order luggage.
For KLMs website: https://www.klm.com/travel/us_en/prepare_for_travel/baggage/baggage_allowance/index.htm
Sizes
* Each suitcase may measure max. 158 cm / 62 in (l + w + h).
** A piece of hand baggage may measure max. 55 x 25 x 35 cm / 21.5 x 10 x 13.5 in (l x b x h).
*** In Business Class you may bring a second, smaller piece of hand baggage that measures max. 45 x 20 x 35 cm / 18 x 8 x 13.5 in (l x w x
h).