Denim Navy color code: #2B4162
A workwear navy with a matte, slightly dusty quality.
Denim Navy · rgb(43, 65, 98)
Every format for Denim Navy
- HEX
- #2B4162
- RGB
- rgb(43, 65, 98)
- HSL
- hsl(216, 39%, 28%)
- HSV
- 216°, 56%, 38%
- CMYK
- 56%, 34%, 0%, 62%
- Lightness
- 28% · dark
Hue sits at 216°, which makes Denim Navy a slightly cool blue navy, with 39% saturation. In the Denim Navy family it reads as a dark option.
Text contrast on Denim 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 Denim Navy
The quick brown fox jumps over the lazy dog.
10.32:1 — AAA for normal textBlack text on Denim Navy
The quick brown fox jumps over the lazy dog.
2.04:1 — below AA, decorative use onlyDenim Navy text on white
The quick brown fox jumps over the lazy dog.
10.32:1 — AAA for normal textAccessibility notes
- Pair Denim Navy with white text for the strongest reading experience: that combination gives 10.32:1.
- Used as a text colour on white, it clears the 3:1 bar for large headings.
- Never rely on Denim 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 Denim Navy, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.
Using Denim Navy in CSS and HTML
CSS example
:root {
--denim-navy: #2B4162;
}
.panel {
background-color: var(--denim-navy);
color: #FFFFFF;
border: 1px solid #2B4162;
}HTML example
<div style="background-color: #2B4162; color: #FFFFFF; padding: 1rem;">
Denim Navy #2B4162
</div>Common uses
- Page and section backgrounds in dark interfaces, where it holds white text cleanly.
- Denim 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 56%, 34%, 0%, 62%.
- 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(216, 39%, 28%). Keeping hue fixed is what makes a scale look intentional. - Give Denim Navy at least one warm counterweight. A cool palette with no warm accent tends to read as cold rather than calm.
- Saturation is moderate, which makes this shade forgiving across large areas and long reading sessions.
Complementary and matching colors
Each of these is derived from the hue, saturation and lightness of Denim Navy. Click a swatch to copy it.
Similar navy shades
Continue exploring
FAQs about Denim Navy
What is the Denim Navy color code?
The Denim Navy color code is #2B4162 in HEX, rgb(43, 65, 98) in RGB and hsl(216, 39%, 28%) in HSL.
What is the RGB value of Denim Navy?
Denim Navy is rgb(43, 65, 98), meaning 43 units of red, 65 of green and 98 of blue on the 0 to 255 scale.
What is the CMYK value of Denim Navy?
In CMYK, Denim Navy converts to approximately 56%, 34%, 0%, 62%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.
Does white text work on Denim Navy?
White text on Denim Navy gives a contrast ratio of 10.32:1, which is AAA for normal text.
Does black text work on Denim Navy?
Black text on Denim Navy gives a contrast ratio of 2.04:1, which is below AA, decorative use only.
Which colors go with Denim Navy?
Its direct complement is #A37E48, and the warm accent #CFBA44 works well for calls to action. For a quieter scheme, pair it with the analogous blues listed above.
Is Denim Navy a light or dark navy?
At 28% lightness, Denim Navy is classed as a dark navy in this collection.