Shades of Blue: 40 Blue Color Names With HEX Codes
A reference list of shades of blue with names and HEX codes, from sky and baby blue to royal, cobalt, navy and teal, plus tips for pairing and contrast.
Updated
Shades of blue range from near-white alice blue and powder blue through sky, cornflower and royal blue to deep navy and midnight blue, with teal and turquoise where blue leans toward green. Pure screen blue is #0000FF, and navy is the same hue at half brightness, #000080. The tables below list 40 blue color names with their HEX codes.
CSS named blues
These names are defined by the CSS specification and can be typed directly into a stylesheet.
| Name | HEX | Character |
|---|---|---|
aliceblue | #F0F8FF | Near-white with a blue tint |
lightblue | #ADD8E6 | Soft pastel blue |
powderblue | #B0E0E6 | Pastel blue, slightly greener |
lightsteelblue | #B0C4DE | Pale grey-blue |
skyblue | #87CEEB | Daytime sky |
lightskyblue | #87CEFA | Sky blue with more saturation |
deepskyblue | #00BFFF | Vivid light blue |
cornflowerblue | #6495ED | Soft mid blue |
dodgerblue | #1E90FF | Bright, saturated blue |
steelblue | #4682B4 | Greyed mid blue |
royalblue | #4169E1 | Strong mid blue |
slateblue | #6A5ACD | Blue leaning toward purple |
blue | #0000FF | Pure screen blue |
mediumblue | #0000CD | Slightly darker pure blue |
darkblue | #00008B | Dark pure blue |
navy | #000080 | Blue at half brightness |
midnightblue | #191970 | Softer, inkier navy |
Teal, turquoise and other blue-greens
Add green to blue and you move around the wheel toward cyan. These CSS names sit in that zone.
| Name | HEX | Character |
|---|---|---|
cyan or aqua | #00FFFF | Equal green and blue at full strength |
aquamarine | #7FFFD4 | Pale green-leaning cyan |
turquoise | #40E0D0 | Bright blue-green |
mediumturquoise | #48D1CC | Slightly deeper turquoise |
darkturquoise | #00CED1 | Vivid, close to cyan |
lightseagreen | #20B2AA | Mid-tone teal |
cadetblue | #5F9EA0 | Greyed blue-green |
darkcyan | #008B8B | Dark cyan |
teal | #008080 | Cyan at half brightness |
teal and navy are built the same way. navy is blue at half strength, hsl(240, 100%, 25%), and teal is cyan at half strength, hsl(180, 100%, 25%).
Popular blue names outside CSS
These names come from pigments, gemstones, universities and fashion. None has a single official code, so treat the values below as the ones most commonly quoted. The third column gives the nearest CSS named color.
| Name | HEX | Closest CSS name |
|---|---|---|
| Baby blue | #89CFF0 | skyblue |
| Periwinkle | #CCCCFF | lavender |
| Electric blue | #7DF9FF | aquamarine |
| Carolina blue | #4B9CD3 | cornflowerblue |
| Azure | #007FFF | dodgerblue |
| Cerulean | #007BA7 | darkcyan |
| Denim | #1560BD | royalblue |
| Sapphire | #0F52BA | royalblue |
| Cobalt blue | #0047AB | teal |
| International Klein Blue | #002FA7 | darkblue |
| Ultramarine | #120A8F | darkblue |
| Prussian blue | #003153 | midnightblue |
| Oxford blue | #002147 | midnightblue |
One trap: the CSS keyword azure is not the vivid blue in this table. In CSS, azure is #F0FFFF, an almost-white tint. If you want the saturated azure that sits between blue and cyan, use #007FFF or the nearby dodgerblue.
Baby blue is a near-exact match for skyblue, but cobalt has nothing close among the 148 CSS names. The Color Name Finder labels each result from Exact Match down to Far Off, so you can see how much a name really tells you about a code.
Navy, royal and sky: how they differ
The three most searched blues differ mostly in lightness, with a small shift in hue.
- Sky blue,
#87CEEB, ishsl(197, 71%, 73%). High lightness and a hue pulled toward cyan make it airy and soft. - Royal blue,
#4169E1, ishsl(225, 73%, 57%). Mid lightness and strong saturation make it the most vivid of the three. - Navy,
#000080, ishsl(240, 100%, 25%). Low lightness makes it read almost as a neutral, which is why it replaces black in many palettes.
You can get these values for any blue by pasting its HEX code into the Color Converter, which shows the RGB and HSL forms side by side. For background on the notations, read HEX, RGB and HSL color codes explained.
What colors go with blue
- Complementary: on the screen color wheel the opposite of pure blue is yellow, and the opposite of a lighter azure-type blue is orange. For
dodgerbluethe exact complement is the orange#FF8F1F. Painters use the same pairing: blue and orange are opposites on the red, yellow and blue wheel. - Analogous: blue sits between cyan and violet. Around
dodgerbluethe neighbors are#1FDAFFand#1F44FF, which gives a cool, cohesive scheme. - Neutrals: white, light grey and sand all suit blue. Navy with white and one warm accent such as coral or mustard is a dependable formula.
- Greens: teal and forest green sit next to blue on the wheel and blend easily. See shades of green.
The Color Palette Generator produces all four harmony types from any blue HEX code, plus a tint and shade scale you can export as CSS variables.
Using blue for text, links and buttons
Dark blues are among the safest colors for text. White on navy has a contrast ratio of 16.01 to 1 and white on pure blue reaches 8.59 to 1, both well above the WCAG AA minimum of 4.5 to 1. White on royalblue passes at 4.85 to 1.
Lighter blues fail quickly. White on dodgerblue is 3.24 to 1 and white on cornflowerblue is 2.97 to 1, so those need dark text or should be limited to large headings and decoration. Sky blue with white text sits at 1.74 to 1 and is unreadable for many people.
Blue is also the conventional link color on the web, so a blue that is too close to your body text color makes links hard to spot. The WCAG color contrast guide explains the thresholds for text and interface elements.
Try it
Paste any code from the tables into the Color Name Finder to see its closest CSS name with RGB and HSL values, or search the named color list for "blue" to compare every CSS blue at once. The companion lists are shades of green and shades of red.