Counting every keyword with an HSL hue from 185 to 255 degrees and at least 20% saturation, CSS has 21 named shades of blue among its 148 colour names. The plain keyword blue is #0000FF, the full blue channel of a screen with no red or green, and navy is #000080, the same hue at half the brightness.
The names and their codes are fixed by the W3C’s CSS Color Module Level 4, but the W3C does not sort its keywords into colour families, so the figure of 21 is the result of that hue rule. Eighteen of the 21 have the word blue in their name; navy, lavender and ghostwhite are the other three.
Every CSS Named Blue, Darkest to Lightest, With Hex, RGB and HSL
Rows run from the lowest HSL lightness to the highest.
| Swatch | Name | Hex | RGB | HSL |
|---|---|---|---|---|
| navy | #000080 | rgb(0, 0, 128) | hsl(240, 100%, 25%) | |
| midnightblue | #191970 | rgb(25, 25, 112) | hsl(240, 64%, 27%) | |
| darkblue | #00008B | rgb(0, 0, 139) | hsl(240, 100%, 27%) | |
| darkslateblue | #483D8B | rgb(72, 61, 139) | hsl(248, 39%, 39%) | |
| mediumblue | #0000CD | rgb(0, 0, 205) | hsl(240, 100%, 40%) | |
| steelblue | #4682B4 | rgb(70, 130, 180) | hsl(207, 44%, 49%) | |
| blue | #0000FF | rgb(0, 0, 255) | hsl(240, 100%, 50%) | |
| deepskyblue | #00BFFF | rgb(0, 191, 255) | hsl(195, 100%, 50%) | |
| dodgerblue | #1E90FF | rgb(30, 144, 255) | hsl(210, 100%, 56%) | |
| royalblue | #4169E1 | rgb(65, 105, 225) | hsl(225, 73%, 57%) | |
| slateblue | #6A5ACD | rgb(106, 90, 205) | hsl(248, 53%, 58%) | |
| cornflowerblue | #6495ED | rgb(100, 149, 237) | hsl(219, 79%, 66%) | |
| mediumslateblue | #7B68EE | rgb(123, 104, 238) | hsl(249, 80%, 67%) | |
| skyblue | #87CEEB | rgb(135, 206, 235) | hsl(197, 71%, 73%) | |
| lightskyblue | #87CEFA | rgb(135, 206, 250) | hsl(203, 92%, 75%) | |
| lightsteelblue | #B0C4DE | rgb(176, 196, 222) | hsl(214, 41%, 78%) | |
| lightblue | #ADD8E6 | rgb(173, 216, 230) | hsl(195, 53%, 79%) | |
| powderblue | #B0E0E6 | rgb(176, 224, 230) | hsl(187, 52%, 80%) | |
| lavender | #E6E6FA | rgb(230, 230, 250) | hsl(240, 67%, 94%) | |
| aliceblue | #F0F8FF | rgb(240, 248, 255) | hsl(208, 100%, 97%) | |
| ghostwhite | #F8F8FF | rgb(248, 248, 255) | hsl(240, 100%, 99%) |
Where Blue Stops: Teal, Turquoise, Cadetblue and the Violet Edge
CSS puts cyan at 180 degrees and pure blue at 240, and the blue band used here runs from 185 to 255. Teal and aqua sit exactly on cyan at 180 degrees, cadetblue misses the band at 181.85 degrees despite its name, and blueviolet lands at 271.15 degrees, past the upper limit.
The CSS keyword indigo, #4B0082, has a hue of 274.62 degrees, so on screens it reads as a violet, nothing like the dark blue of indigo-dyed cloth. Lightslategray has a blue hue of 210 degrees but only 14.3% saturation, which leaves it grey. Widen the band to 170 to 260 degrees and the count of blues jumps to 36.
| Swatch | Name | Hex | Hue | Saturation | Among the 21 blues |
|---|---|---|---|---|---|
| turquoise | #40E0D0 | 174° | 72.1% | No | |
| mediumturquoise | #48D1CC | 177.81° | 59.8% | No | |
| aqua / cyan | #00FFFF | 180° | 100% | No | |
| teal | #008080 | 180° | 100% | No | |
| darkturquoise | #00CED1 | 180.86° | 100% | No | |
| cadetblue | #5F9EA0 | 181.85° | 25.5% | No | |
| powderblue | #B0E0E6 | 186.67° | 51.9% | Yes | |
| lightslategray | #778899 | 210° | 14.3% | No | |
| lavender | #E6E6FA | 240° | 66.7% | Yes | |
| mediumslateblue | #7B68EE | 248.51° | 79.8% | Yes | |
| mediumpurple | #9370DB | 259.63° | 59.8% | No | |
| rebeccapurple | #663399 | 270° | 50% | No | |
| blueviolet | #8A2BE2 | 271.15° | 75.9% | No | |
| indigo | #4B0082 | 274.62° | 100% | No |
Shades of Blue Grouped Into Five Families
Navy and Dark Blues
navy (#000080) is the darkest named blue at 25.10% lightness, with midnightblue (#191970) at 26.86% and darkblue (#00008B) at 27.25% close behind. Navy, darkblue and mediumblue (#0000CD) are pure blue at 240 degrees with the red and green channels at zero, while midnightblue mixes in a little of both, and darkslateblue (#483D8B) shifts to 248 degrees, a hint of violet.
Royal and Mid Blues
blue (#0000FF) is the reference point, the sRGB primary at 240 degrees and 50.00% lightness. royalblue (#4169E1) at 225 degrees and cornflowerblue (#6495ED) at 219 degrees are softer, slightly greener blues, and slateblue (#6A5ACD) and mediumslateblue (#7B68EE) sit on the violet side at about 248 degrees.
Sky Blues and Blue-Tinted Whites
skyblue (#87CEEB) and lightskyblue (#87CEFA) are the pale blues named for the sky, at 72.55% and 75.49% lightness. lavender (#E6E6FA), aliceblue (#F0F8FF) and ghostwhite (#F8F8FF) pass the hue rule too, but at lightness of 94.12% and above they look like white with a cool cast.
Steel and Grey Blues
steelblue (#4682B4) and lightsteelblue (#B0C4DE) are the muted blues, at 44% and 41% saturation, a greyed blue that still clears the 20% floor. Slategray and lightslategray sit at 210 degrees, between the two, but fall to 12.6% and 14.3% saturation, which drops them out of the blue group.
Cyan-Leaning Blues
powderblue (#B0E0E6), at 187 degrees, is the named blue closest to cyan, followed by lightblue (#ADD8E6) and deepskyblue (#00BFFF) at 195 degrees. Deepskyblue is a fully saturated version of the same hue, and dodgerblue (#1E90FF) pushes a little further toward blue at 210 degrees.
For the band on the other side of cyan, see our chart of named greens.
Pigment, Dye and Mineral Blues Behind the Names
Each of these blues varies with grade, binder and light, so none has a single hex code.
Ultramarine and Lapis Lazuli

Ultramarine is ground from lapis lazuli, a rock rather than a mineral, coloured by lazurite and flecked with gold-like pyrite; the key mines are in Badakhshan in northeastern Afghanistan, with paler stone near Ovalle, Chile. Its name is Medieval Latin for beyond the sea, and it was the most brilliant and stable blue open to painters from the Middle Ages onward. Filippino Lippi spread it across the Virgin’s mantle in the Cleveland tondo above, painted around 1488 to 1493.
Egyptian Blue: The First Made Pigment
Egyptian blue is regarded as the oldest synthetic pigment, invented more than 4,000 years ago to imitate lapis. Sand, lime, an alkali such as potash or natron and a copper compound were heated to between 1,470 and 1,650 degrees Fahrenheit, then the lumps were ground. The recipe was lost after Roman times and worked out again in the 19th century.
Azurite: Copper Ore Blue
Azurite is a basic copper carbonate found beside green malachite in copper lodes in Namibia, France and Arizona. It coloured ancient Eastern wall paintings and European pictures from the 15th to the middle of the 17th century as a cheaper stand-in for ultramarine, though in oil it can darken almost to black.
Indigo: The Plant Dye

Until about 1900 indigo came entirely from plants of the genera Indigofera and Isatis; Adolf von Baeyer announced its structure in 1883, and factory synthesis was workable by the late 1890s. It dyed the cloth that became blue jeans. The Alsace cotton above, from 1790, was printed with wax resist and dipped in indigo.
Smalt: Powdered Cobalt Glass
Smalt is blue potassium glass coloured by cobalt and ground to powder, used by painters from the 16th to the 18th centuries. It tends to lose its colour, and the sky of Veronese’s The Dream of Saint Helena, about 1570, has faded from pale blue to a dull brownish grey.
Prussian Blue: Iron and Cyanide

Prussian blue is a family of deep blues built from complex iron cyanides, first synthesised about 1704 and called the first modern synthetic pigment. It was first known as Berliner blue, cost less than ultramarine, and Canaletto mixed it with white for his skies. Hokusai printed The Great Wave, around 1830 to 1832, with indigo and imported Prussian blue.
Cobalt Blue: 1802

Cobalt blue, a cobalt aluminium oxide, was made in 1802 by the French chemist Louis Jacques Thenard, who based it on the blue of Chinese porcelain. Cobalt ores had coloured glass and porcelain blue since antiquity, as on the 1300s Yuan jar above, painted with cobalt imported from Iran, but only in 1742 did Georg Brandt show the colour came from a metal.
Cerulean: A Sky Blue From Tin
Cerulean blue is a cobalt stannate pigment, a bright sky blue with green undertones, first made in 1805 by the Swiss chemist Albrecht Hopfner. It took 55 years to reach shops, when George Rowney sold it as coeruleum, and the Latin root caeruleus means dark blue. Monet used it in La Gare Saint-Lazare in 1877.
Cyanotype: Sunlight on Iron Salts

John Herschel devised the cyanotype in 1842: paper soaked in ferric ammonium citrate and potassium ferricyanide turns Prussian blue wherever sunlight hits it, and the sheet is then washed in plain water. Herschel also developed the blueprint, and Anna Atkins laid fern fronds on the paper for the 1852 to 1854 print above.
International Klein Blue
International Klein Blue is a matte paint of synthetic ultramarine bound in Rhodopas M, a synthetic resin that Yves Klein found with the Paris colour merchant Edouard Adam. On 19 May 1960 Klein registered the process, not the colour, with France’s industrial property office under Soleau envelope no. 63471.
YInMn Blue: The Newest Inorganic Blue
YInMn takes its name from yttrium, indium and manganese, and it appeared in 2009 when graduate student Andrew Smith, working in Mas Subramanian’s lab at Oregon State University, heated manganese oxide to about 1,200 C. It was the first new inorganic blue in more than 200 years, is sold as Blue 10G513 and reflects near-infrared light.
Maya Blue
Maya blue is an indigo- and clay-based pigment used by the ancient Maya. A ceramic crocodile whistle at the Metropolitan Museum of Art, made between 700 and 800 CE, still carries a bright wash of it.
Navy Blue
Navy blue means a very dark blue. Royal Navy officers have worn dark blue since 1748, when the Admiralty introduced their first regulated uniform, and a lieutenant’s undress frock of that pattern is blue wool with a low collar lined in white velvet. Indigo was long the dye for these heavy navy shades on wool, and the CSS keyword navy, #000080, is a screen value, not a match for any cloth.
Why the Sky Looks Blue Instead of Violet
Air molecules scatter sunlight in every direction, and blue light, travelling in shorter waves, is scattered more than the other colours. Lord Rayleigh described the effect in 1871, and its strength rises with the inverse fourth power of the wavelength, so halving the wavelength multiplies the scattering sixteen times.
Violet is scattered even more than blue, yet the sky does not look violet, because the eye is more sensitive to blue and the sun gives off more blue light than violet. The sky behind all the cloud types takes its colour from this scattering.
Blue Light Sits Between 450 and 495 Nanometres
Britannica defines blue as light in the wavelength range of 450 to 495 nanometres; after violet it holds the shortest wavelengths the eye can pick out. The full visible range runs from about 380 nm at the violet end to about 700 nm at the red end, and a characteristic blue sits near 470 nm.
The Best Ultramarine Was Worth More Than Gold Until a Paris Competition
The best grades of natural ultramarine could be worth more than gold, and patrons often paid for the exact amount a painter would use. Lapis had to be crushed and kneaded in an alkaline putty to pull out the blue.
A competition in Paris produced the synthetic version, developed in 1826 and on sale from 1828, chemically identical and far cheaper. Made in France and Germany by the late 1820s from china clay, sulphur and sodium carbonate fired slowly to 750 C, it became known as French Ultramarine and was even sold as laundry bluing.
What a Blue Hex Code Cannot Tell You About Paint, Cloth and Feathers
A hex code describes red, green and blue light on an sRGB screen, from 0 to 255 on each channel, and nothing more. Its HSL lightness is not perceptual either: blue and yellow both sit at 50% lightness, yet yellow looks far brighter, so blue and deepskyblue, both at 50.00%, do not look equally light.
Pigment blues also move. Indigo used as a paint is unstable, and the blue background of Cornelius Johnson’s Portrait of a Lady from 1655 has turned grey, while smalt drifts toward brown and azurite toward black.
Some blues in nature have no blue pigment at all. Bird feathers get their blue almost always from tiny air pockets in the barbs that scatter light, as in bluebirds, Indigo Buntings and Blue Jays, and a Blue Jay feather lit from behind looks brown, the colour of its melanin.
Shade, Tint or Tone: Darkening, Lightening and Greying a Blue
In painting a shade is a colour plus black, a tint is a colour plus white and a tone is a colour plus grey. In everyday speech the phrase shades of blue simply means varieties of blue, light or dark, and a single colour can take an almost infinite number of tones.
- Start from pure blue, #0000FF, at hue 240, 100% saturation and 50% lightness.
- For a shade, hold the hue and lower lightness: mediumblue (#0000CD) at 40.20% and navy (#000080) at 25.10% are shades of blue.
- For a tint, raise lightness: lavender (#E6E6FA), at 94.12%, is the same 240 degree hue pushed almost to white.
- For a tone, pull saturation down toward grey: midnightblue (#191970) keeps hue 240 but drops to 64% saturation.
A colour picker in any of the free drawing apps will show the HSL sliders, so each step is a single slider move.
Frequently Asked Questions
Which named blues are almost white?
ghostwhite (#F8F8FF) at 98.63% lightness, aliceblue (#F0F8FF) at 97.06% and lavender (#E6E6FA) at 94.12% pass the blue hue rule but read as white with a cool tint. The lightest named blue that still looks plainly blue is powderblue (#B0E0E6) at 79.61%.
Why are cadetblue and blueviolet not counted as blues?
Both carry blue in the name, but cadetblue, #5F9EA0, has a hue of 181.85 degrees, on the cyan side of 185, and blueviolet, #8A2BE2, has a hue of 271.15 degrees, past the 255 degree limit.
What is the newest blue pigment?
YInMn blue, found at Oregon State University in 2009, is the first new inorganic blue since cobalt blue in 1802. It received a US patent in May 2012 and is licensed to the Shepherd Color Company.
Related Articles
Get the Fox Bulletin briefing
The stories that matter, in your inbox. No spam, unsubscribe anytime.
Newsletter signup will be available soon.
