Blue Color Codes (Shades of Blue)
Navy, royal, cobalt, cerulean, sky blue and 32 more shades of blue with HEX, RGB, HSL and CMYK codes, plus tints, shades and the complement of each.
Blue covers everything from near-black navy to the palest alice blue. This page collects 37 named blues — 18 CSS named blues, such as royalblue and steelblue, plus well-known names like cobalt, cerulean, Prussian blue and International Klein Blue — with HEX, RGB, HSL, HSV, CMYK and OKLCH codes. Pick one to get its tints and shades, its complementary color and whether white or black text reads better on it.
How to use this tool
- Choose a shade of blue from the list.
- Copy its HEX, RGB, HSL or CMYK code from the results.
- Use the tints and shades table for lighter and darker variants of the same blue.
- Scroll the full table to compare all shades side by side, or download the chart.
Formula
tint = c + (255 − c) × p · shade = c × (1 − p) · complement = HSL hue + 180°
c is each RGB channel and p the mixing amount (15–75%). CMYK uses the simple formula K = 1 − max(R′, G′, B′); printers convert with ICC profiles and may give different numbers.
Example
Royal blue (royalblue) is #4169E1 = rgb(65, 105, 225), hsl(225, 72.7%, 56.9%). Rotating its hue by 180° gives the warm gold #E1B941, its complement. White text on it reaches 4.84:1 — enough for AA body text — while navy #000080 gives white text 16:1.
Frequently asked questions
What is the HEX code for navy blue?
CSS navy is #000080, rgb(0, 0, 128) — pure blue at half intensity. Many brands call darker blues "navy" too, such as #1F305E (Delft blue) or Oxford blue #002147.
What is the difference between royal blue and cobalt blue?
CSS royal blue #4169E1 is lighter and slightly purple; cobalt blue #0047AB is deeper and more saturated, named after the cobalt pigment. The traditional royal blue of British royal heraldry is much darker, #002366.
Which blue is best for links and buttons?
Pick a blue that reaches at least 4.5:1 against its background: on white, #0047AB (cobalt) gives about 8.4:1, while sky blue #87CEEB gives only 1.7:1.
Sources
Last updated:
Page address with these inputs: https://kakao.mobile/tools/blue-color-code/
Cite or embed this tool
kakaoCalc. (2026, November 8). Blue Color Codes (Shades of Blue). https://kakao.mobile/tools/blue-color-code/
“Blue Color Codes (Shades of Blue).” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/blue-color-code/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms