Tints and Shades and How to Build a Usable Color Ramp
A student sent me a button that was supposed to be a darker version of her brand blue. She had taken the hex code, dropped the lightness in the picker, and ended up with something that looked like slate.

A student sent me a button that was supposed to be a darker version of her brand blue. She had taken the hex code, dropped the lightness in the picker, and ended up with something that looked like slate. The hover state read as a different color entirely, and she could not work out why, because arithmetically she had done nothing wrong.
This is the most common color problem I see, and it has nothing to do with taste. Picking one nice color is easy. Producing the eight or nine versions of it that a real interface needs, for hover states, borders, disabled text, tinted backgrounds and dark mode, is where palettes fall apart. A ramp is the thing you actually ship, and most people build it by accident.
What a tint, a shade and a tone really change
The vocabulary is worth getting straight because the three operations do different damage.
A tint mixes your color with white. It raises lightness and drops saturation at the same time, which is why tints feel airy and slightly washed. A shade mixes with black. It lowers lightness and also drops saturation, which is the reason a shaded color goes dull and grey rather than rich and deep. A tone mixes with grey and flattens the color without moving it much up or down.
So when my student pulled the lightness slider down, she got a shade, and shades of blue head straight towards the muddy middle. What she wanted was a darker blue that stayed blue, which means moving lightness down while pushing saturation up and nudging the hue slightly. Paint mixers have known this for two hundred years. Color pickers do not tell you.
Build the ramp in HSL, not in hex
Stop typing hex codes and switch your picker to HSL. You get three numbers you can reason about: hue in degrees from 0 to 360, saturation as a percentage, lightness as a percentage. Every browser accepts hsl(214 84% 46%) directly in CSS, so there is no conversion step.
Fix your base color first, then generate steps by moving lightness in planned increments rather than by eye. Eleven steps is the common choice and more than most projects need; nine is plenty, and I have shipped sites on seven.
The step sizes should not be even. Human eyes separate light values much better than dark ones, so a palette with evenly spaced lightness looks top heavy, with four pale steps you cannot distinguish and two dark steps that both read as black. Weight the steps towards the light end.
| Step | Lightness | Saturation shift | Where it goes |
|---|---|---|---|
| 50 | 97% | minus 30% | Tinted page backgrounds, table stripes |
| 100 | 93% | minus 22% | Hover on a quiet row |
| 200 | 86% | minus 12% | Borders on tinted cards |
| 300 | 76% | minus 4% | Disabled button fill |
| 400 | 62% | base | Icons on dark backgrounds |
| 500 | 46% | base | Primary button, links |
| 600 | 38% | plus 6% | Button hover |
| 700 | 30% | plus 10% | Button active, heading accents |
| 900 | 18% | plus 8% | Text on a step 50 background |
Those saturation shifts are the part people skip, and they are what separates a ramp that looks like one color family from a ramp that looks like nine unrelated swatches. Push saturation up as you go dark, pull it down as you go light.
Hue needs to move too, and nobody mentions it
Here is the trick that made my own palettes stop looking cheap. As a color gets darker, shift its hue a few degrees towards the nearest cool point. As it gets lighter, shift towards warm. For a blue at 214 degrees, I might land the lightest tint at 208 and the darkest shade at 222.
Six to twelve degrees across the whole ramp is enough. More than about fifteen and the family starts to split in two. The effect mimics how light actually behaves on an object, where shadows pick up cool ambient light and highlights pick up warm direct light, and it reads as deliberate even to people who cannot say why.
Yellows and oranges are the awkward ones. Yellow has almost no dark range, because a dark yellow is olive and a dark olive is brown. If you need a dark step from a yellow brand color, accept that it will read as amber and plan the text color around that rather than fighting it.
The counter-take: palette generators are making your work worse
Most beginners start at a generator, hit the spacebar until something looks nice, and copy five hex codes. I used to recommend this. I have changed my mind, and the reason is not snobbery.
A generator hands you five unrelated hues and no ramp. That is the opposite of what an interface needs. Count the colors in any product you admire: usually one brand hue with nine steps, one neutral grey with nine or more, and three short ramps for success, warning and error states. Twelve hues and no steps will fail the first time you need a hover state, and you will solve it by eyeballing a new hex code, which is how a design system ends up with 38 blues.
The second problem is that generators optimise for the swatch strip, a view nobody ever sees in production. Colors look different at 4 pixels of border width than they do in a 200 pixel block. Our note on why contrast matters more than color choice covers the same mismatch from the accessibility side.
Use a generator to find one starting hue if you are stuck. Then build the ramp yourself and throw the other four swatches away.
Checking the ramp before you commit to it
Three quick tests catch almost everything. None takes longer than a few minutes.
First, the squint test. Put the full ramp in a row and squint or blur the screen. Any two adjacent steps that merge into one block are wasted, so delete one of them. Any gap that jumps hard is a missing step.
Second, the contrast check. Your step 500 against white needs a ratio of at least 4.5 to 1 for body text and 3 to 1 for large text or UI boundaries. Many brand blues land around 3.8 to 1, which passes for a button background with white text only if you drop a step. Check the pairs you will actually use rather than the whole grid, and read the notes on color blind friendly design before you rely on hue alone to signal anything.
Third, the grey test. Build your neutral ramp from a desaturated version of the brand hue at 4 to 8 percent saturation rather than from pure grey. A page of true neutral greys next to a saturated blue looks slightly dirty, and the fix costs nothing. This is also the thing that makes a dark mode palette hold together, because inverted true greys always look flat.
Once the ramp survives all three, name the steps numerically and put them into styles or variables immediately, before any screen uses a raw value. Retyping a hex code is how the discipline dies, which is exactly the habit Figma color styles exist to break.
FAQ
How many steps does a color ramp need?
Nine covers almost every interface: four light steps for backgrounds and borders, one base, three dark steps for hover, active and text, and one very dark for text on tinted panels. Eleven if you are building a system other people will extend.
Why does my dark blue look grey?
Because dropping lightness alone also drops perceived saturation. Lower the lightness and raise the saturation by six to ten percentage points at the same time, and shift the hue a few degrees cooler.
Should I use OKLCH instead of HSL?
If your browser targets allow it, yes, it is the better model. OKLCH lightness is perceptually even, so a step from 60 to 50 looks like the same jump across every hue, which HSL cannot promise. The workflow in this piece transfers directly, just with the saturation column replaced by chroma.
Can I build a ramp from two brand colors?
You can, but build them as two separate ramps rather than blending between them. A gradient between two hues passes through a muddy midpoint, and that midpoint is always the step somebody wants to use for a border.
More in Color
Color
How to Choose Neutral Grays That Match Your Brand Color
A client sent me a landing page last spring with a note that said it looked cheap and she could not work out why.
Color
Monochromatic Color Scheme and How to Keep It Interesting
You picked one color for your design, built everything from it, and the result looks either flat or muddy.
Color
Analogous Color Scheme and How to Use It in a Layout
You picked three colors that sit next to each other on the wheel, and the layout looks pleasant but flat, as if nothing on the...