Skip to content

Navy Color — #000080 HEX Code

Navy uses #000080, or RGB(0, 0, 128), in this color catalog. Explore complementary colors, palettes and text contrast below.

Theme palettes

Color Wheel

5
#000080
H: 240° · S: 100% · B: 50%
Brightness50%

Click a swatch to select · Click hex to copy

Colors adjacent on the wheel create a serene, comfortable palette. Ideal for nature-inspired designs and cohesive UI themes.

Navy

#000080

Navy color reference

Updated

Navy is the CSS keyword often called navy blue. Its blue channel is half the maximum 8-bit value, producing a dark base for cream, white or gold accents.

CSS keyword: navy. Each resolves to #000080 in sRGB.

HEX — exact
#000080
RGB — exact 8-bit channels
0, 0, 128
HSL — rounded
240°, 100%, 25%

What is the complementary color?

An HSL hue rotation of 180° gives #7F8000, keeping the rounded saturation and lightness values. This reference calculation rounds HSL before converting back to RGB. It is a digital harmony starting point, not a pigment-mixing rule or a guarantee of readable text.

Black or white text on Navy?

Black text: 1.312:1Normal-text AA: FailInspect this text pair
White text: 16.010:1Normal-text AA: PassInspect this text pair

AA requires at least 4.5:1 for normal text. Results use opaque colors and unrounded contrast values; a passing pair does not establish complete accessibility.

A worked palette in this color family

For navy-led interfaces, see a dashboard example that checks light text on two dark surfaces and both sides of an interactive card boundary.

The collection uses its own listed HEX values; it does not substitute them for this #000080 reference.

Dark Mode Color Palettes: roles, contrast checks and CSS

Use #000080 in a real interface

Exact match in the Color Match reference list: Navy. Reference names are browsing labels; not every name is a CSS keyword.

Try navy as reading text on cream or as a dark navigation surface.

The navigation surface may need a lighter separator where its edge carries meaning.

Assign roles and check the pair

The lightest and darkest supplied values are the starting reading pair. The accent label adds black or white, whichever has greater contrast. You can change the accent below.

A palette in context

Use this preview to inspect reading text and an accent label.

Example action

Reading text #000080 on #FFF7ED: 15.079:1 - Pass normal text AA.

Accent label #FFFFFF on #000080: 16.010:1.

Checks use unrounded ratios and opaque sRGB. The example action is a visual sample. Test boundaries, focus and hover in your actual component.

All color pairs: normal text AA
Rows are text; columns are backgrounds. Each cell gives the ratio and AA result.
Text / background#000080#FFF7ED
#0000801.00:1 Fail15.08:1 Pass
#FFF7ED15.08:1 Pass1.00:1 Fail
:root {
  --surface: #FFF7ED;
  --text: #000080;
  --accent: #000080;
  --on-accent: #FFFFFF;
}

Shades & Tints

Tints (Adding White)

Shades (Adding Black)

Theme Palettes

Explore 20+ themes

Pastel

Vintage

Neon

Dark Mode

Nature

Live Website Preview

Preview your landing page

See your selected colors on headings, surfaces and example actions.

Get StartedLearn More
Primary action
Try your primary color on an example action.
Supporting surface
Compare a card with the page background.
Reading text
Inspect a short heading and supporting copy.
Example call to action
Sample content for inspecting your palette in a layout.
Example action

Accessibility

Text contrast on Navy

Each sample uses this color as the background. Results describe opaque text contrast, not the accessibility of a whole design.

White text

A normal-size text example.

#FFFFFF on #000080

WCAG: 16.010:1

Normal text: AAA. Large text: AAA.

APCA: -103.89 Lc (supplementary).

Inspect this pair and find a fix

Black text

A normal-size text example.

#000000 on #000080

WCAG: 1.312:1

Normal text: Fail. Large text: Fail.

APCA: 0.00 Lc (supplementary).

Inspect this pair and find a fix

AA needs 4.5:1 for normal text and 3:1 for large text. Large text is at least 24 CSS px, or about 18.67 CSS px and bold. Methods and limitations

Vision Simulator

Color Vision
Environment

Normal Vision

Navy — Original
#000080
No change
#000080

Vision: Viénot 1999 + Machado 2009. Environment: approximate perceptual simulation.

Extract Colors from Image

Drop image, click, or paste

PNG · JPG · WebP · GIF