Dark Navy color code: #050A30
A near-black navy with heavy saturation, best reserved for large flat areas.
Dark Navy · rgb(5, 10, 48)
Every format for Dark Navy
- HEX
- #050A30
- RGB
- rgb(5, 10, 48)
- HSL
- hsl(233, 81%, 10%)
- HSV
- 233°, 90%, 19%
- CMYK
- 90%, 79%, 0%, 81%
- Lightness
- 10% · dark
Hue sits at 233°, which makes Dark Navy a true blue navy, with 81% saturation. In the Dark Navy family it reads as a dark option.
Text contrast on Dark Navy
Contrast ratios are calculated using the WCAG 2.1 relative luminance formula. Normal body text needs 4.5:1 and large text needs 3:1 to pass AA.
White text on Dark Navy
The quick brown fox jumps over the lazy dog.
19.22:1 — AAA for normal textBlack text on Dark Navy
The quick brown fox jumps over the lazy dog.
1.09:1 — below AA, decorative use onlyDark Navy text on white
The quick brown fox jumps over the lazy dog.
19.22:1 — AAA for normal textAccessibility notes
- Pair Dark Navy with white text for the strongest reading experience: that combination gives 19.22:1.
- Used as a text colour on white, it clears the 3:1 bar for large headings.
- Never rely on Dark Navy alone to communicate state. Add an icon, label or underline so the meaning survives for colour-blind users and in greyscale printing.
- When placing text over a photograph tinted with Dark Navy, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.
Using Dark Navy in CSS and HTML
CSS example
:root {
--dark-navy: #050A30;
}
.panel {
background-color: var(--dark-navy);
color: #FFFFFF;
border: 1px solid #050A30;
}HTML example
<div style="background-color: #050A30; color: #FFFFFF; padding: 1rem;">
Dark Navy #050A30
</div>Common uses
- Page and section backgrounds in dark interfaces, where it holds white text cleanly.
- Dark Navy palettes for brand systems that need a dependable cool anchor.
- Print work where a deep blue is preferred to black, using the CMYK build 90%, 79%, 0%, 81%.
- Data visualisation, as one step in a lightness-based navy scale.
Design recommendations
- Build lighter and darker variants by changing only the lightness in
hsl(233, 81%, 10%). Keeping hue fixed is what makes a scale look intentional. - Give Dark Navy at least one warm counterweight. A cool palette with no warm accent tends to read as cold rather than calm.
- Saturation is high here, so use it in measured amounts. Large flat areas of a saturated navy can feel heavy on screen.
Complementary and matching colors
Each of these is derived from the hue, saturation and lightness of Dark Navy. Click a swatch to copy it.
Similar navy shades
Continue exploring
FAQs about Dark Navy
What is the Dark Navy color code?
The Dark Navy color code is #050A30 in HEX, rgb(5, 10, 48) in RGB and hsl(233, 81%, 10%) in HSL.
What is the RGB value of Dark Navy?
Dark Navy is rgb(5, 10, 48), meaning 5 units of red, 10 of green and 48 of blue on the 0 to 255 scale.
What is the CMYK value of Dark Navy?
In CMYK, Dark Navy converts to approximately 90%, 79%, 0%, 81%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.
Does white text work on Dark Navy?
White text on Dark Navy gives a contrast ratio of 19.22:1, which is AAA for normal text.
Does black text work on Dark Navy?
Black text on Dark Navy gives a contrast ratio of 1.09:1, which is below AA, decorative use only.
Which colors go with Dark Navy?
Its direct complement is #A29111, and the warm accent #8EA117 works well for calls to action. For a quieter scheme, pair it with the analogous blues listed above.
Is Dark Navy a light or dark navy?
At 10% lightness, Dark Navy is classed as a dark navy in this collection.