Royal Navy color code: #1E3A8A
A modern interface navy widely used for primary buttons and active states.
Royal Navy · rgb(30, 58, 138)
Every format for Royal Navy
- HEX
- #1E3A8A
- RGB
- rgb(30, 58, 138)
- HSL
- hsl(224, 64%, 33%)
- HSV
- 224°, 78%, 54%
- CMYK
- 78%, 58%, 0%, 46%
- Lightness
- 33% · mid-tone
Hue sits at 224°, which makes Royal Navy a true blue navy, with 64% saturation. In the Royal Navy family it reads as a mid-tone option.
Text contrast on Royal 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 Royal Navy
The quick brown fox jumps over the lazy dog.
10.36:1 — AAA for normal textBlack text on Royal Navy
The quick brown fox jumps over the lazy dog.
2.03:1 — below AA, decorative use onlyRoyal Navy text on white
The quick brown fox jumps over the lazy dog.
10.36:1 — AAA for normal textAccessibility notes
- Pair Royal Navy with white text for the strongest reading experience: that combination gives 10.36:1.
- Used as a text colour on white, it clears the 3:1 bar for large headings.
- Never rely on Royal 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 Royal Navy, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.
Using Royal Navy in CSS and HTML
CSS example
:root {
--royal-navy: #1E3A8A;
}
.panel {
background-color: var(--royal-navy);
color: #FFFFFF;
border: 1px solid #1E3A8A;
}HTML example
<div style="background-color: #1E3A8A; color: #FFFFFF; padding: 1rem;">
Royal Navy #1E3A8A
</div>Common uses
- Primary buttons, active navigation states and chart series.
- Royal 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 78%, 58%, 0%, 46%.
- 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(224, 64%, 33%). Keeping hue fixed is what makes a scale look intentional. - Give Royal 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 Royal Navy. Click a swatch to copy it.
Similar navy shades
Continue exploring
FAQs about Royal Navy
What is the Royal Navy color code?
The Royal Navy color code is #1E3A8A in HEX, rgb(30, 58, 138) in RGB and hsl(224, 64%, 33%) in HSL.
What is the RGB value of Royal Navy?
Royal Navy is rgb(30, 58, 138), meaning 30 units of red, 58 of green and 138 of blue on the 0 to 255 scale.
What is the CMYK value of Royal Navy?
In CMYK, Royal Navy converts to approximately 78%, 58%, 0%, 46%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.
Does white text work on Royal Navy?
White text on Royal Navy gives a contrast ratio of 10.36:1, which is AAA for normal text.
Does black text work on Royal Navy?
Black text on Royal Navy gives a contrast ratio of 2.03:1, which is below AA, decorative use only.
Which colors go with Royal Navy?
Its direct complement is #D2A732, and the warm accent #E4E244 works well for calls to action. For a quieter scheme, pair it with the analogous blues listed above.
Is Royal Navy a light or dark navy?
At 33% lightness, Royal Navy is classed as a mid-tone navy in this collection.