Shades of Blue
Blue is the world's favourite colour and has the names to prove it: baby blue and powder blue at the light end, royal, cobalt and sapphire in the middle, and navy, Oxford and Prussian blue at the dark end. All with hex, RGB and HSL codes.
Click any shade to copy its hex code.
Light blue shades 15
Blue shades 15
Dark blue shades 14
Blue color palettes
Five-colour palettes built from the shades above. Click a colour to copy it, or copy the whole palette.
Blue gradients
Made from these blue shades — copy the CSS.
Blue gradients from the library
Holiday Fairy Lights
Holiday Northern Lights
Holiday Winter Solstice
Holiday Snow Globe
Holiday Ice Palace
Holiday Snowy Morning
Holiday Hanukkah Silver
Holiday Silent Night
Blue color FAQ
What is the hex code for blue?
The standard blue hex code is #0000FF, which is RGB(0, 0, 255). In CSS you can also write it as the keyword blue.
How many shades of blue are there?
There is no fixed number — a normal screen can show millions of variations. This page lists 44 named shades of blue, from Alice Blue (#F0F8FF) to Oxford Blue (#002147), each with its hex, RGB and HSL code.
What is a light blue hex code?
The lightest named blues here are Alice Blue (#F0F8FF), Powder Blue (#B0E0E6), Uranian Blue (#AFDBF5). They work well as backgrounds and tints behind dark text.
What is a dark blue hex code?
The darkest named blues here are Dark Blue (#00008B), Navy (#000080), Oxford Blue (#002147). Use them for text, borders and deep backgrounds with light text on top.
What colors go well with blue?
Its complementary colour, opposite on the colour wheel, is #FFFF00 — high contrast, best as a small accent. For a calmer look, use its neighbours #0080FF and #8000FF, or pair a blue with a near-neutral from the same family.
How do I use these blue shades in CSS?
Click any shade to copy its hex code, then use it anywhere CSS takes a colour: color: #0000FF; or background: linear-gradient(135deg, #F0F8FF, #0000FF);. RGB and HSL work the same way: rgb(0 0 255).
More color shades
Build with these colours: Palette Generator · Gradient Generator · Contrast Checker
