Electric Navy color code: #1B44C8
A vivid navy-blue hybrid for interfaces that need a loud but still deep primary.
Electric Navy · rgb(27, 68, 200)
Every format for Electric Navy
- HEX
- #1B44C8
- RGB
- rgb(27, 68, 200)
- HSL
- hsl(226, 76%, 45%)
- HSV
- 226°, 87%, 78%
- CMYK
- 87%, 66%, 0%, 22%
- Lightness
- 45% · mid-tone
Hue sits at 226°, which makes Electric Navy a true blue navy, with 76% saturation. In the Royal Navy family it reads as a mid-tone option.
Text contrast on Electric 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 Electric Navy
The quick brown fox jumps over the lazy dog.
7.76:1 — AAA for normal textBlack text on Electric Navy
The quick brown fox jumps over the lazy dog.
2.71:1 — below AA, decorative use onlyElectric Navy text on white
The quick brown fox jumps over the lazy dog.
7.76:1 — AAA for normal textAccessibility notes
- Pair Electric Navy with white text for the strongest reading experience: that combination gives 7.76:1.
- Used as a text colour on white, it clears the 3:1 bar for large headings.
- Never rely on Electric 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 Electric Navy, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.
Using Electric Navy in CSS and HTML
CSS example
:root {
--electric-navy: #1B44C8;
}
.panel {
background-color: var(--electric-navy);
color: #FFFFFF;
border: 1px solid #1B44C8;
}HTML example
<div style="background-color: #1B44C8; color: #FFFFFF; padding: 1rem;">
Electric Navy #1B44C8
</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 87%, 66%, 0%, 22%.
- 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(226, 76%, 45%). Keeping hue fixed is what makes a scale look intentional. - Give Electric 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 Electric Navy. Click a swatch to copy it.
Similar navy shades
Continue exploring
FAQs about Electric Navy
What is the Electric Navy color code?
The Electric Navy color code is #1B44C8 in HEX, rgb(27, 68, 200) in RGB and hsl(226, 76%, 45%) in HSL.
What is the RGB value of Electric Navy?
Electric Navy is rgb(27, 68, 200), meaning 27 units of red, 68 of green and 200 of blue on the 0 to 255 scale.
What is the CMYK value of Electric Navy?
In CMYK, Electric Navy converts to approximately 87%, 66%, 0%, 22%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.
Does white text work on Electric Navy?
White text on Electric Navy gives a contrast ratio of 7.76:1, which is AAA for normal text.
Does black text work on Electric Navy?
Black text on Electric Navy gives a contrast ratio of 2.71:1, which is below AA, decorative use only.
Which colors go with Electric Navy?
Its direct complement is #E7C24B, and the warm accent #E2E444 works well for calls to action. For a quieter scheme, pair it with the analogous blues listed above.
Is Electric Navy a light or dark navy?
At 45% lightness, Electric Navy is classed as a mid-tone navy in this collection.