Navy colour (#000080)
Navy is dark a blue with hex code #000080, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 0, 0, 128; in HSL 240°, 100%, 25%. Use the tool to explore shades and harmonies.
How to use the Navy colour
- The colour is pre-filled; click Explore to see all formats, shades and harmonies.
- Edit the value to try a variation.
- Copy the code you need.
Navy in every format
| Format | Value |
|---|---|
| HEX | #000080 |
| RGB | rgb(0, 0, 128) |
| RGB (0–1) | 0.000, 0.000, 0.502 |
| HSL | hsl(240, 100%, 25%) |
| CMYK (approx.) | 100%, 100%, 0%, 50% |
| CSS | color: navy; |
Shades and tints of Navy
Same hue and saturation, lightness from 90% to 10%:
#ccccff | #9999ff | #6666ff | #3333ff | #0000ff | #0000cc | #000099 | #000066 | #000033 |
Colours that go with Navy
| Harmony | Colours | |
|---|---|---|
| Complementary | #808000 | |
| Triadic | #800000 | #008000 |
| Analogous | #400080 | #004080 |
Similar named colours
The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:
| Colour | HEX | Difference |
|---|---|---|
| darkblue | #00008b | very close |
| midnightblue | #191970 | close |
| indigo | #4b0082 | close |
| mediumblue | #0000cd | close |
| darkslateblue | #483d8b | noticeably different |
Accessibility
Contrast ratio of Navy against white is 16.01:1 (passes WCAG AA for normal text) and against black 1.31:1 (fails). Use Navy for text on white backgrounds.
Frequently asked questions
What is the hex code for Navy?
#000080.
What is Navy in RGB?
rgb(0, 0, 128).
What colour is complementary to Navy?
#808000, directly opposite on the colour wheel.
Privacy
This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.
Last updated 2026-09-23.