Skip to content

31 Shades of Blue with Hex Codes

Blue ranges from near-black navy to pale ice. Cooler, darker blues read as corporate and trustworthy, while lighter sky blues feel open and calm.

#0000FF

The blue hex code is #0000FF

#0000FF is rgb(0, 0, 255) in RGB, hsl(240, 100%, 50%) in HSL, and about cmyk(100%, 100%, 0%, 0%) in CMYK. Every other blue below has its own hex code.

#0000FFrgb(0, 0, 255)hsl(240, 100%, 50%)

Named Blue Colors and Their Hex Codes

Ordered darkest to lightest. Names marked CSS are color keywords you can write directly in a stylesheet; the rest are common design and print names. Select any swatch for its full breakdown.

Oxford Blue
#002147rgb(0, 33, 71)
NavyCSS
#000080rgb(0, 0, 128)
DarkBlueCSS
#00008Brgb(0, 0, 139)
MidnightBlueCSS
#191970rgb(25, 25, 112)
Prussian Blue
#003153rgb(0, 49, 83)
Yale Blue
#00356Brgb(0, 53, 107)
MediumBlueCSS
#0000CDrgb(0, 0, 205)
Egyptian Blue
#1034A6rgb(16, 52, 166)
BlueCSS
#0000FFrgb(0, 0, 255)
Cobalt Blue
#0047ABrgb(0, 71, 171)
Sapphire
#0F52BArgb(15, 82, 186)
Denim
#1560BDrgb(21, 96, 189)
RoyalBlueCSS
#4169E1rgb(65, 105, 225)
Cerulean
#007BA7rgb(0, 123, 167)
SteelBlueCSS
#4682B4rgb(70, 130, 180)
Azure
#007FFFrgb(0, 127, 255)
Air Force Blue
#5D8AA8rgb(93, 138, 168)
DodgerBlueCSS
#1E90FFrgb(30, 144, 255)
CadetBlueCSS
#5F9EA0rgb(95, 158, 160)
Carolina Blue
#4B9CD3rgb(75, 156, 211)
CornflowerBlueCSS
#6495EDrgb(100, 149, 237)
Tiffany Blue
#0ABAB5rgb(10, 186, 181)
DeepSkyBlueCSS
#00BFFFrgb(0, 191, 255)
LightSteelBlueCSS
#B0C4DErgb(176, 196, 222)
SkyBlueCSS
#87CEEBrgb(135, 206, 235)
LightSkyBlueCSS
#87CEFArgb(135, 206, 250)
Baby Blue
#89CFF0rgb(137, 207, 240)
Periwinkle
#CCCCFFrgb(204, 204, 255)
LightBlueCSS
#ADD8E6rgb(173, 216, 230)
PowderBlueCSS
#B0E0E6rgb(176, 224, 230)
AliceBlueCSS
#F0F8FFrgb(240, 248, 255)

Blue Color Chart: Hex, RGB, HSL & CMYK

Every blue above in all four common formats. CMYK is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

NameHexRGBHSLCMYK
Oxford Blue#002147rgb(0, 33, 71)hsl(212, 100%, 14%)cmyk(100%, 54%, 0%, 72%)
Navy#000080rgb(0, 0, 128)hsl(240, 100%, 25%)cmyk(100%, 100%, 0%, 50%)
DarkBlue#00008Brgb(0, 0, 139)hsl(240, 100%, 27%)cmyk(100%, 100%, 0%, 45%)
MidnightBlue#191970rgb(25, 25, 112)hsl(240, 64%, 27%)cmyk(78%, 78%, 0%, 56%)
Prussian Blue#003153rgb(0, 49, 83)hsl(205, 100%, 16%)cmyk(100%, 41%, 0%, 67%)
Yale Blue#00356Brgb(0, 53, 107)hsl(210, 100%, 21%)cmyk(100%, 50%, 0%, 58%)
MediumBlue#0000CDrgb(0, 0, 205)hsl(240, 100%, 40%)cmyk(100%, 100%, 0%, 20%)
Egyptian Blue#1034A6rgb(16, 52, 166)hsl(226, 82%, 36%)cmyk(90%, 69%, 0%, 35%)
Blue#0000FFrgb(0, 0, 255)hsl(240, 100%, 50%)cmyk(100%, 100%, 0%, 0%)
Cobalt Blue#0047ABrgb(0, 71, 171)hsl(215, 100%, 34%)cmyk(100%, 58%, 0%, 33%)
Sapphire#0F52BArgb(15, 82, 186)hsl(216, 85%, 39%)cmyk(92%, 56%, 0%, 27%)
Denim#1560BDrgb(21, 96, 189)hsl(213, 80%, 41%)cmyk(89%, 49%, 0%, 26%)
RoyalBlue#4169E1rgb(65, 105, 225)hsl(225, 73%, 57%)cmyk(71%, 53%, 0%, 12%)
Cerulean#007BA7rgb(0, 123, 167)hsl(196, 100%, 33%)cmyk(100%, 26%, 0%, 35%)
SteelBlue#4682B4rgb(70, 130, 180)hsl(207, 44%, 49%)cmyk(61%, 28%, 0%, 29%)
Azure#007FFFrgb(0, 127, 255)hsl(210, 100%, 50%)cmyk(100%, 50%, 0%, 0%)
Air Force Blue#5D8AA8rgb(93, 138, 168)hsl(204, 30%, 51%)cmyk(45%, 18%, 0%, 34%)
DodgerBlue#1E90FFrgb(30, 144, 255)hsl(210, 100%, 56%)cmyk(88%, 44%, 0%, 0%)
CadetBlue#5F9EA0rgb(95, 158, 160)hsl(182, 25%, 50%)cmyk(41%, 1%, 0%, 37%)
Carolina Blue#4B9CD3rgb(75, 156, 211)hsl(204, 61%, 56%)cmyk(64%, 26%, 0%, 17%)
CornflowerBlue#6495EDrgb(100, 149, 237)hsl(219, 79%, 66%)cmyk(58%, 37%, 0%, 7%)
Tiffany Blue#0ABAB5rgb(10, 186, 181)hsl(178, 90%, 38%)cmyk(95%, 0%, 3%, 27%)
DeepSkyBlue#00BFFFrgb(0, 191, 255)hsl(195, 100%, 50%)cmyk(100%, 25%, 0%, 0%)
LightSteelBlue#B0C4DErgb(176, 196, 222)hsl(214, 41%, 78%)cmyk(21%, 12%, 0%, 13%)
SkyBlue#87CEEBrgb(135, 206, 235)hsl(197, 71%, 73%)cmyk(43%, 12%, 0%, 8%)
LightSkyBlue#87CEFArgb(135, 206, 250)hsl(203, 92%, 75%)cmyk(46%, 18%, 0%, 2%)
Baby Blue#89CFF0rgb(137, 207, 240)hsl(199, 77%, 74%)cmyk(43%, 14%, 0%, 6%)
Periwinkle#CCCCFFrgb(204, 204, 255)hsl(240, 100%, 90%)cmyk(20%, 20%, 0%, 0%)
LightBlue#ADD8E6rgb(173, 216, 230)hsl(195, 53%, 79%)cmyk(25%, 6%, 0%, 10%)
PowderBlue#B0E0E6rgb(176, 224, 230)hsl(187, 52%, 80%)cmyk(23%, 3%, 0%, 10%)
AliceBlue#F0F8FFrgb(240, 248, 255)hsl(208, 100%, 97%)cmyk(6%, 3%, 0%, 0%)

Blue Scale from Light to Dark

A 12-step lightness scale built from the core blue hue, holding hue and saturation constant. This is the shape of a design-system color ramp. Select any swatch for the full breakdown of that color.

Need a perceptually even ramp with semantic roles and contrast evidence? Generate blue design tokens.

What Blue Communicates

Blue is the most used color in interface and brand design because it reads as stable, competent, and low-risk. Dark navy carries authority; mid blues feel dependable and are the default for links and primary actions; pale blues recede and work as calm backgrounds. Blue is also the safest hue for red-green color vision deficiency, which is one reason it dominates dashboards and data visualisation.

Where blue works well

  • Primary buttons and links, where blue is the established convention
  • Finance, healthcare, and B2B brands that need to signal reliability
  • Data visualisation, because blue stays distinguishable for most viewers with color vision deficiency
  • Cool, spacious backgrounds when saturation is dropped below about 20%

Colors that pair with blue

Copy the Blue Palette as CSS

Every shade on this page as CSS custom properties, ready to paste into a stylesheet.

:root {
  --blue-oxford-blue: #002147;
  --blue-navy: #000080;
  --blue-darkblue: #00008B;
  --blue-midnightblue: #191970;
  --blue-prussian-blue: #003153;
  --blue-yale-blue: #00356B;
  --blue-mediumblue: #0000CD;
  --blue-egyptian-blue: #1034A6;
  --blue-blue: #0000FF;
  --blue-cobalt-blue: #0047AB;
  --blue-sapphire: #0F52BA;
  --blue-denim: #1560BD;
  --blue-royalblue: #4169E1;
  --blue-cerulean: #007BA7;
  --blue-steelblue: #4682B4;
  --blue-azure: #007FFF;
  --blue-air-force-blue: #5D8AA8;
  --blue-dodgerblue: #1E90FF;
  --blue-cadetblue: #5F9EA0;
  --blue-carolina-blue: #4B9CD3;
  --blue-cornflowerblue: #6495ED;
  --blue-tiffany-blue: #0ABAB5;
  --blue-deepskyblue: #00BFFF;
  --blue-lightsteelblue: #B0C4DE;
  --blue-skyblue: #87CEEB;
  --blue-lightskyblue: #87CEFA;
  --blue-baby-blue: #89CFF0;
  --blue-periwinkle: #CCCCFF;
  --blue-lightblue: #ADD8E6;
  --blue-powderblue: #B0E0E6;
  --blue-aliceblue: #F0F8FF;
}

Blue Color Questions

What is the hex code for blue?

The standard blue hex code is #0000FF, which is rgb(0, 0, 255) in RGB and hsl(240, 100%, 50%) in HSL. There is no single "correct" blue — this page lists 31 named blue shades with their own hex codes.

How many shades of blue are there?

Displays can render millions of distinct blue values, so any count is a matter of which ones have names. This page lists 31 named shades of blue, combining the CSS color keywords with widely used blue names from design and print references, plus a generated 12-step lightness scale.

Can I use blue for text on a white background?

#0000FF scores 8.59:1 against white. WCAG 2.2 asks for at least 4.5:1 for normal body text and 3:1 for large text, so this shade passes for normal text. Check any specific pairing in the contrast checker.

What colors go well with blue?

orange, gold, gray all pair well with blue. For a specific shade, open its color page to see the complementary, analogous, and triadic colors calculated from its exact hue.

More Color Families