Navy Blue Hex Code Guide: Standard Value and Variants
The most commonly accepted navy blue hex code is `#000080`. If you need one safe default for CSS, design files, or a brand palette, start there; it’s the standard navy most people mean, though nearby values are also used when a project wants a slightly deeper or lighter navy.
The short answer: the navy hex code most people mean
If you need one navy blue hex code that will work in the widest range of general design tasks, use #000080. In RGB, that is rgb(0, 0, 128), and in HSL it is roughly hsl(240, 100%, 25%).
That gives you a true navy: very dark, clearly blue, and not so close to black that it disappears on a dark background. If a brand or system already gives you a navy, use that exact value instead of substituting #000080.
Why different sites list different navy hex values
“Navy” is a color family, not one locked digital swatch. Different sites list different navy hex values because they’re usually describing a shade that reads as navy, not the exact same color.
Some swatches lean deeper and more formal, while others are a little lighter so they show up better in UI elements, charts, or small accents. You’ll also see differences because named colors, brand palettes, and design systems often define their own version of navy for consistency inside that system.
What makes a color read as navy instead of just dark blue
A color reads as navy when it stays blue at low brightness. In practice, that means the blue channel still does the work, while red stays very low and the color doesn’t drift too far toward purple, indigo, or black.
For example, a blue that looks almost black on a dark canvas may stop reading as navy and start reading as black-blue. A blue with more red in it can feel warmer or more purple, which pushes it away from the classic navy look. If you want navy, keep it dark and keep it clearly blue.
Common navy hex codes and when each one fits
Here are a few navy-like values you’ll run into:
| Hex | Typical use |
|---|---|
#000080 | Safest general navy |
#001F3F | Deeper, more formal navy |
#0A1F44 | Dark UI navy with a softer feel |
#1A2A6C | Lighter navy for accents or interface highlights |
Choose #000080 when you want a standard reference and don’t have a brand spec to follow. Pick a deeper navy when the design needs a more restrained, formal tone. Use a lighter navy when the color has to stay visible in small UI pieces, charts, or overlays without turning into black.
Why hex, RGB, and HSL can all describe the same navy
Hex, RGB, and HSL are three ways to write the same color, not three different colors. The format changes, but the visual result is meant to stay the same.
For #000080, the equivalent RGB value is rgb(0, 0, 128). In HSL, it is roughly hsl(240, 100%, 25%).
That matters when you move between CSS, Figma, and brand files. If one tool stores hex and another stores RGB or HSL, you can still keep the same navy as long as the numbers match the same color value.
How to check navy on screen and in print
On screen, navy changes with brightness, display calibration, and what sits next to it. The same hex can look darker in a dim room, or more purple beside warm colors, even when the code itself is correct.
A good screen check is simple: view the navy on the actual background it will live on, then compare it on the device or browser where it will ship. If the color is for a brand system, check the current design spec before you assume a preview is authoritative.
In print, paper and ink can shift the result again. A calibrated monitor helps, but the final proof should be checked against the current print or production spec before you approve it, especially for packaging, signage, or a logo file.
Common mistakes when using navy hex codes
The most common mistakes are practical ones:
- Treating one navy as universal across every screen, tool, and print process.
- Using black or near-black when the design still needs visible blue.
- Ignoring contrast, especially if white text sits on top of the navy.
- Copying a named “navy” without checking whether it includes extra red, green, or brightness.
- Mixing hex values, named colors, and manual tweaks across files so the brand ends up with several almost-identical navies.
That last one causes the most drift. Once different files start carrying slightly different versions, the color looks inconsistent even if each file seemed fine on its own.
A quick way to choose and keep one navy consistent
Start with #000080 unless a brand spec says otherwise. Then keep the same color value in every place it appears.
- Choose the navy once.
- Save it as a design token or style variable.
- Use the same value in CSS, design tools, and brand files.
- Check it on the real background where it will be used.
- If print is involved, verify the proof against the current production spec before you lock it in.
If you do that, you avoid the usual problem: a brand that looks consistent in one file but splits into slightly different blues across the rest of the system.
Frequently Asked Questions
Is `#000080` always the right navy blue hex code?
No. `#000080` is the safest general navy, but brands, UI systems, and print specs often use a nearby value on purpose. If a style guide gives you an exact code, use that instead of guessing.
Why does my navy look different in Figma and in the browser?
The same hex can look different because of brightness, color management, preview settings, and the colors around it. The code may be identical, but the viewing context changes how it reads, so compare it on the final background and device if you can.
