Uniform Navy color code: #1F2A44
A muted uniform navy with a grey underlayer, dependable for body text on light backgrounds.
Uniform Navy · rgb(31, 42, 68)
Every format for Uniform Navy
- HEX
- #1F2A44
- RGB
- rgb(31, 42, 68)
- HSL
- hsl(222, 37%, 19%)
- HSV
- 222°, 54%, 27%
- CMYK
- 54%, 38%, 0%, 73%
- Lightness
- 19% · dark
Hue sits at 222°, which makes Uniform Navy a true blue navy, with 37% saturation. In the Classic Navy family it reads as a dark option.
Text contrast on Uniform 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 Uniform Navy
The quick brown fox jumps over the lazy dog.
14.26:1 — AAA for normal textBlack text on Uniform Navy
The quick brown fox jumps over the lazy dog.
1.47:1 — below AA, decorative use onlyUniform Navy text on white
The quick brown fox jumps over the lazy dog.
14.26:1 — AAA for normal textAccessibility notes
- Pair Uniform Navy with white text for the strongest reading experience: that combination gives 14.26:1.
- Used as a text colour on white, it clears the 3:1 bar for large headings.
- Never rely on Uniform 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 Uniform Navy, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.
Using Uniform Navy in CSS and HTML
CSS example
:root {
--uniform-navy: #1F2A44;
}
.panel {
background-color: var(--uniform-navy);
color: #FFFFFF;
border: 1px solid #1F2A44;
}HTML example
<div style="background-color: #1F2A44; color: #FFFFFF; padding: 1rem;">
Uniform Navy #1F2A44
</div>Common uses
- Page and section backgrounds in dark interfaces, where it holds white text cleanly.
- Classic 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 54%, 38%, 0%, 73%.
- 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(222, 37%, 19%). Keeping hue fixed is what makes a scale look intentional. - Give Uniform 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 Uniform Navy. Click a swatch to copy it.
Similar navy shades
Continue exploring
FAQs about Uniform Navy
What is the Uniform Navy color code?
The Uniform Navy color code is #1F2A44 in HEX, rgb(31, 42, 68) in RGB and hsl(222, 37%, 19%) in HSL.
What is the RGB value of Uniform Navy?
Uniform Navy is rgb(31, 42, 68), meaning 31 units of red, 42 of green and 68 of blue on the 0 to 255 scale.
What is the CMYK value of Uniform Navy?
In CMYK, Uniform Navy converts to approximately 54%, 38%, 0%, 73%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.
Does white text work on Uniform Navy?
White text on Uniform Navy gives a contrast ratio of 14.26:1, which is AAA for normal text.
Does black text work on Uniform Navy?
Black text on Uniform Navy gives a contrast ratio of 1.47:1, which is below AA, decorative use only.
Which colors go with Uniform Navy?
Its direct complement is #816C3B, and the warm accent #B4AE31 works well for calls to action. For a quieter scheme, pair it with the analogous blues listed above.
Is Uniform Navy a light or dark navy?
At 19% lightness, Uniform Navy is classed as a dark navy in this collection.