Yep, definately an Elven Archer with a high dexterity (19).
Wisdom can be set to a minimum (14 or 15, if I recall correctly) and intelligence to about 13.
Constitution is naturally rather low for elves, so set that to a minimum as well, same as for wisdom.
Then spend any points left on a strength somewhere between 12 and 16, and a charisma of 10 to, say, 15. Unless you think Legolas is very charismatic (though he does not put himself forward as a leader at all), in which case you can raise that too.
So you'd roughly get
STR: 14
DEX: 19
CON: 15
WIS: 14
INT: 13
CHA: 12
which is a total of 87, and not that hard to roll for a ranger class character.
Of course, it all depends on what you believe the elf to be, if you think he's a mastermind, set the intelligence higer. If you think he's had 3000 years to learn to understand the world, and that it should be reflected in his wisdom, be sure to raise that to 17 or something.
Because that's what's important. If you enjoy playing the Legolas character, you'll have to find a way to convince yourself it is, indeed, Legolas.
And as for alignment, probably Neutral Good (or else Chaotic Good)
Oh, and the gender is male

uh: