On this page
The strip above previews both colors as background, text and button with a contrast score, and that score points to the main lesson of this pair. Navy and mid grey sit fairly close in lightness, so the grey you choose matters more than the navy. Below you’ll find exact codes, the greys that work best, contrast ratios I computed, copyable palettes and notes for screens, print and rooms.
Navy and grey hex, RGB, HSL and CMYK codes
Both colors are CSS named colors, which makes them easy to use anywhere. Navy is (the keyword navy), and grey is (the keyword gray, with grey accepted as an alternate spelling). The table adds a silver and a light grey, because you will almost always need something lighter than beside navy.
| Color | HEX | RGB | HSL | CMYK |
|---|---|---|---|---|
| Navy | 0, 0, 128 | 240°, 100%, 25% | 100, 100, 0, 50 | |
| Grey | 128, 128, 128 | 0°, 0%, 50% | 0, 0, 0, 50 | |
| Silver | 192, 192, 192 | 0°, 0%, 75% | 0, 0, 0, 25 | |
| Light grey | 211, 211, 211 | 0°, 0%, 83% | 0, 0, 0, 17 |
Navy is pure blue at hue 240° with its brightness halved, which is why its HSL lightness is 25%. Grey has no saturation at all, so its hue of 0° is only a convention. The CMYK figures are the plain mathematical conversion. Real presses behave differently, as the printing section explains.
How navy and grey look together
On a screen, is a saturated, slightly electric ink blue. It feels closer to royal blue in a dark coat than to the near-black navy of a school blazer. Grey sits at exactly half lightness, so the pair has a medium contrast: clearly different, but not dramatic. That is why the combination feels calm rather than bold.
Navy has several close relatives, and they change the mood. A darker, less saturated navy such as (HSL 218°, 74%, 15%) looks more formal and prints more predictably. Oxford blue is similar. Midnight blue leans violet. If you want the inky end of the range, our dark navy page covers it in detail.
Saturated blue also tints how we read the grey beside it. A perfectly neutral grey can look slightly warm next to strong navy, so if you want the pair to feel cool and cohesive, nudge the grey toward blue.
Which grey should you pair with navy?
Most “navy and grey” combinations that disappoint use one grey for everything. Treat grey as a small family with jobs, and the pairing gets easier:
- Silver for text and icons placed on navy.
- Light grey for dividers, cards and table stripes.
- Off-white for page backgrounds, which feels softer than pure white.
- Dim grey for body text on white or off-white.
- Charcoal for footers and dark text, with a blue undertone that sits naturally beside navy.
Blue-tinted greys such as slate blend into navy and feel cohesive. Neutral greys keep things crisp. For a near-black neutral with no blue cast, a charcoal like #36393F works well for dark interfaces.
In CSS, which named color is lighter: gray or darkgray?
The CSS keyword darkgray is #A9A9A9, which is lighter than gray at #808080, so the names are misleading.
One naming trap: CSS darkgray is , which is lighter than gray at . Check the hex, not the name.
Navy and grey contrast: what actually passes WCAG
I computed these ratios from the relative luminance of each color, using the WCAG formula. Navy has a luminance of about 0.0156 and grey about 0.216, which gives 4.05:1 in either direction. That passes the 3:1 threshold for large text and UI components, but it misses the 4.5:1 needed for normal body text.
Which text color reaches at least 4.5:1 on a #000080 navy background?
Silver on navy measures 8.80:1, while #808080 manages only 4.05:1 and deep navy is nearly invisible.
The fix is to lighten the grey on navy. Silver on navy gives 8.80:1, and gives 9.97:1. White on navy reaches 16.01:1, which is why white is the usual text color on navy buttons (see navy blue and white for that pairing). The reverse problem exists on light backgrounds: on white measures 3.95:1. On a client dashboard I once had to move every grey caption from to to reach 4.54:1 on white, and nobody noticed the change except the accessibility audit.
On navy, keep text lighter than silver . On white, keep grey text darker than .

Navy and grey palettes you can copy
Each palette below follows the same logic: one dominant navy, two or three greys with distinct jobs, and a very light neutral for breathing room. That keeps the lightness steps wide enough for text and UI to stay legible.
Corporate slides, reports and investor decks with a calm hierarchy.
Websites that keep the exact CSS navy and grey as their base.
Soft, cool interiors, stationery and wellness brands that need quiet blues.
Premium packaging, wedding suites and menus with one warm accent.
A dependable proportion is roughly 60 percent light neutral, 30 percent grey or navy as the supporting color and 10 percent for the strongest element, usually navy or an accent. Flip it for dark-mode layouts, with navy as the base and silver as the text color.
Navy and grey in web and UI design
Give each color a role before you start. A common setup is:
- Navy for primary actions, navigation bars and headings.
- Mid grey for borders, icons and large secondary text.
- Light grey and off-white for surfaces, cards and backgrounds.
- Silver or white for text placed on navy.
Here is a minimal set of CSS tokens that follows those rules and passes contrast where it counts:

:root {
--navy: #000080;
--grey: #808080;
--silver: #c0c0c0;
--paper: #f5f5f5;
--text-muted: #767676;
}
.button { background: var(--navy); color: #fff; } /* 16.01:1 */
.on-navy { background: var(--navy); color: var(--silver); } /* 8.80:1 */
.caption { color: var(--text-muted); } /* 4.54:1 on white */
.hero { background: linear-gradient(135deg, #000080, #808080); }
A direct navy to grey gradient passes through , a dusty indigo, at the halfway point. If that looks muddy, finish on a blue-grey such as instead, or put a third stop between the two.
Navy and grey for branding and logos
Navy is a conventional signal of reliability, which is why banks, law firms and airlines use it so often. Grey adds restraint. Together they suit brands that want to feel competent without feeling cold, such as consultancies, software for finance and professional services.
In brand work I treat as a reference, and I usually settle on a deeper navy like . It feels less electric and holds up better against white. Build a logo system with three versions: navy on light, white on navy and a single-grey version for secondary uses. Avoid mid grey for small text in a logo lockup, because it will fall under 4.5:1 on white.
Navy and grey in interiors, fashion and art
In rooms, navy works best on a feature wall, cabinetry or a sofa, with grey carrying the larger surfaces. Light grey walls with navy furniture feel airy. Warm woods and a neutral such as sand stop the pair from tipping into cold. Keep metal accents in brass or brushed steel, depending on how warm you want it.
In fashion, navy with grey is a quiet classic: a navy blazer over grey flannel trousers, or a heather grey sweater with navy denim. Texture does a lot of the work, because wool, flannel and cotton jersey give the same grey different personalities.
In painting, you can make a convincing grey by mixing blue with a little orange, its complement. That grey sits comfortably beside navy because both come from the same pigment family.
Try this: Cut three paper squares in , and . Hold them against something navy in daylight and again under a lamp, and note which grey looks cooler.
Printing navy and grey without surprises
The CMYK values in the table are a formula, not a promise. Navy converts to 100, 100, 0, 50, which asks two inks to cooperate, and uncoated paper tends to soak up and shift them. I once approved a brochure from the screen alone, and the proof came back noticeably more violet than expected. Since then I always ask for a printed proof, and for brand-critical navy I specify a spot ink.
Grey is easier. A black-only grey (K 50 for ) avoids color casts, and it stays neutral across most presses. Small navy text printed from a rich mix of cyan, magenta and black can look soft if the plates misregister, so keep navy type at 9 points or larger, or use a single dark ink for fine print.
Accent colors that lift navy and grey
Navy and grey are both quiet, so one accent goes a long way. Mustard or brass yellow is the safest choice: blue and yellow are opposites, and the contrast makes navy look richer. The yellow and blue page shows how to balance that pairing. A warm red adds urgency, and our red and grey guide covers how red behaves against a neutral.
Orange is the third option, especially with a blue-grey base. The logic is the same as in a teal and orange scheme, where a cool color is lifted by a warm one. Whichever accent you choose, keep it to around 10 percent of the layout and reserve it for the one thing you want people to notice.
Shades that keep this combination working
Navy and Grey Color Combination: questions people ask
What is the hex code for navy and grey?
Navy is #000080 and grey is #808080 in CSS and standard web colors. Both are named colors, so `navy` and `gray` (or `grey`) work in a stylesheet and give exactly the same result.
Does navy go with grey?
Yes. Navy is a deep, cool color and grey is a neutral, so they share a calm, professional mood without competing. Keep a clear lightness gap between them and use a lighter grey wherever text sits on navy.
Is grey text readable on navy?
Mid grey #808080 on navy #000080 measures about 4.05:1, which passes for large text and UI parts but not for body text. Silver #C0C0C0 reaches 8.80:1 and is a much safer choice.
What accent color goes with navy and grey?
Mustard or brass yellow is the most reliable, followed by a clean red or a warm orange. Use the accent for about 10 percent of the layout so navy and grey still lead.
What colors are navy and grey made from?
On screen, navy is pure blue at half brightness (RGB 0, 0, 128) and grey is equal parts red, green and blue (RGB 128, 128, 128). In paint, you can darken blue to navy with black or a touch of its complement, orange, and grey comes from balancing complementary colors or mixing black and white.
Keep exploring
- Pink and Purple Color Combination: Palettes and Hex Codes
- Orange and Black Color Scheme: Palettes and Hex Codes
- Blue and Black Color Combination: Palettes and Hex Codes
- Black and Grey Color Combination: Palettes and Hex Codes
- Orange and Brown Color Combination: Palettes and Hex Codes
- Brown and Black Color Palette: Combinations and Hex Codes
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes