Named color

Navy

Navy color #000080: RGB 0, 0, 128 and HSL 240°, 100%, 25%. Explore its cool blue profile, contrast, CSS, palettes and harmonies.

HEX #000080
RGB rgb(0, 0, 128)
HSL hsl(240 100% 25%)
CMYK cmyk(100, 100, 0, 50)
Luminance 0.0156
Contrast Black 1.31:1White 16.01:1

Use this color

Create with Navy

Open a professional color tool with #000080 already applied. Each configuration stays canonical to the tool and can be adjusted or shared.

All color tools

CSS Utilities

--color-navy: #000080;
.bg-navy { background-color: #000080; }
.text-navy { color: #000080; }

Color meaning and use

About Navy Color

Navy uses HEX #000080, RGB 0, 0, 128, and HSL 240°, 100%, 25%. The dataset classifies it in the blue family with cool temperature and jewel tone visual character.

No separate named-color neighbor is recorded for this entry. Its relative luminance is 0.0156; black contrast is 1.31:1 and white contrast is 16.01:1, making white the stronger of those two standard foreground choices.

WCAG Accessibility

Contrast checks for Navy against black and white text.

Black text1.31:1AA Fail
White text16.01:1AA Pass
AA text options#FFFFFF, #F5F5F5
AAA text options#FFFFFF, #F5F5F5

Downloadable color reference infographic

Navy Color Reference Infographic

Save a high-resolution infographic of Navy, including its color values, coordinated palette, and black and white text contrast.

1200 × 800
Navy color reference infographic showing #000080, RGB and HSL values, a coordinated palette, and black and white text contrast.
Navy color reference infographic generated from the verified Colors Encyclopedia dataset.

Color Harmonies

Variants

Pairings

Machine-readable data

Machine-Readable Color Data (JSON)

Perfect for CSS, design systems, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.0156
Black text1.31:1AA Fail
White text16.01:1AA Pass
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{
  "hex": "#000080",
  "rgb": [
    0,
    0,
    128
  ],
  "hsl": [
    240,
    100,
    25
  ],
  "cmyk": [
    100,
    100,
    0,
    50
  ],
  "luminance": 0.0156,
  "contrast": {
    "black": 1.31,
    "white": 16.01
  }
}
WCAG
{
  "AA": [
    "#FFFFFF",
    "#F5F5F5"
  ],
  "AAA": [
    "#FFFFFF",
    "#F5F5F5"
  ]
}
Harmonies
{
  "complementary": "#7F8000",
  "analogous": [
    "#004080",
    "#400080"
  ],
  "triadic": [
    "#800000",
    "#008000"
  ],
  "tetradic": [
    "#800040",
    "#7F8000",
    "#008040"
  ],
  "splitComplementary": [
    "#804000",
    "#408000"
  ],
  "monochromatic": [
    "#0000DB",
    "#000080",
    "#000024"
  ]
}
Variants
{
  "light": "#0000DB",
  "dark": "#000024",
  "saturated": "#000080",
  "desaturated": "#0E0E71",
  "pastel": "#1313EC",
  "neon": "#0000A8"
}
Pairings
{
  "best": [
    "#FFFFFF",
    "#7F8000",
    "#004080",
    "#400080"
  ],
  "avoid": [
    "#0E0E71",
    "#0000DB"
  ],
  "neutral": [
    "#1A1A1A",
    "#F5F5F5",
    "#E8E8E4"
  ],
  "highContrast": [
    "#FFFFFF"
  ],
  "lowContrast": [
    "#0000DB",
    "#0E0E71"
  ]
}
Knowledge graph
{
  "nearestColors": [
    "navy-blue",
    "dark-blue",
    "ultramarine",
    "midnight-blue",
    "zaffre"
  ],
  "generatedPalettes": [
    "navy"
  ],
  "generatedComparisons": [
    "dark-blue-vs-navy",
    "navy-vs-navy-blue",
    "ultramarine-vs-navy"
  ],
  "relatedFamilies": [
    "/colors/by-family/blue",
    "/colors/by-temperature/cool",
    "/colors/by-tone/jewel-tone"
  ],
  "relatedTools": [
    "/harmonies/navy",
    "/wcag/navy",
    "/css/colors/navy",
    "/hex/000080",
    "/tools/css-gradient-generator",
    "/tools/color-palette-generator",
    "/tools/css-color-mixer",
    "/tools/contrast-checker"
  ],
  "semanticRelations": {
    "broader": [
      "/colors/by-family/blue",
      "/colors/by-temperature/cool",
      "/colors/by-tone/jewel-tone"
    ],
    "narrower": [
      "/palettes/navy"
    ],
    "related": [
      "/colors/navy-blue",
      "/colors/dark-blue",
      "/colors/ultramarine",
      "/colors/midnight-blue",
      "/colors/zaffre",
      "/compare/dark-blue-vs-navy",
      "/compare/navy-vs-navy-blue",
      "/compare/ultramarine-vs-navy",
      "/harmonies/navy",
      "/wcag/navy",
      "/css/colors/navy",
      "/hex/000080",
      "/tools/css-gradient-generator",
      "/tools/color-palette-generator",
      "/tools/css-color-mixer",
      "/tools/contrast-checker"
    ]
  }
}
Full JSON dataset
{
  "slug": "navy",
  "name": "Navy",
  "cssName": "navy",
  "hex": "#000080",
  "family": "blue",
  "temperature": "cool",
  "tone": [
    "jewel-tone"
  ],
  "uses": [
    "web design",
    "CSS color systems",
    "UI prototyping"
  ],
  "psychology": {
    "associations": [
      "context dependent"
    ],
    "contexts": [
      "web interfaces",
      "design systems",
      "technical color references"
    ],
    "avoidIn": [
      "claims that require brand or cultural specificity"
    ]
  },
  "aliases": [
    "navy"
  ],
  "sourceType": "standard",
  "confidence": "high",
  "sourceUrl": "https://www.w3.org/TR/css-color-4/#named-colors",
  "origin": {
    "type": "css",
    "notes": "Standard CSS named color."
  },
  "reviewStatus": "auto",
  "editorialNotes": "Generated from CSS named color data and computed color-system properties.",
  "tags": [
    "blue",
    "cool",
    "jewel-tone",
    "web-design",
    "css-color-systems",
    "ui-prototyping",
    "context-dependent"
  ],
  "popularity": 67,
  "rgb": [
    0,
    0,
    128
  ],
  "hsl": [
    240,
    100,
    25
  ],
  "cmyk": [
    100,
    100,
    0,
    50
  ],
  "luminance": 0.0156,
  "contrast": {
    "black": 1.31,
    "white": 16.01
  },
  "harmonies": {
    "complementary": "#7F8000",
    "analogous": [
      "#004080",
      "#400080"
    ],
    "triadic": [
      "#800000",
      "#008000"
    ],
    "tetradic": [
      "#800040",
      "#7F8000",
      "#008040"
    ],
    "splitComplementary": [
      "#804000",
      "#408000"
    ],
    "monochromatic": [
      "#0000DB",
      "#000080",
      "#000024"
    ]
  },
  "variants": {
    "light": "#0000DB",
    "dark": "#000024",
    "saturated": "#000080",
    "desaturated": "#0E0E71",
    "pastel": "#1313EC",
    "neon": "#0000A8"
  },
  "wcag": {
    "AA": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "AAA": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  "css": {
    "variable": "--color-navy: #000080;",
    "utility": ".bg-navy { background-color: #000080; }",
    "textUtility": ".text-navy { color: #000080; }"
  },
  "nearestColors": [
    "navy-blue",
    "dark-blue",
    "ultramarine",
    "midnight-blue",
    "zaffre"
  ],
  "generatedPalettes": [
    "navy"
  ],
  "generatedComparisons": [
    "dark-blue-vs-navy",
    "navy-vs-navy-blue",
    "ultramarine-vs-navy"
  ],
  "relatedFamilies": [
    "/colors/by-family/blue",
    "/colors/by-temperature/cool",
    "/colors/by-tone/jewel-tone"
  ],
  "relatedTools": [
    "/harmonies/navy",
    "/wcag/navy",
    "/css/colors/navy",
    "/hex/000080",
    "/tools/css-gradient-generator",
    "/tools/color-palette-generator",
    "/tools/css-color-mixer",
    "/tools/contrast-checker"
  ],
  "semanticRelations": {
    "broader": [
      "/colors/by-family/blue",
      "/colors/by-temperature/cool",
      "/colors/by-tone/jewel-tone"
    ],
    "narrower": [
      "/palettes/navy"
    ],
    "related": [
      "/colors/navy-blue",
      "/colors/dark-blue",
      "/colors/ultramarine",
      "/colors/midnight-blue",
      "/colors/zaffre",
      "/compare/dark-blue-vs-navy",
      "/compare/navy-vs-navy-blue",
      "/compare/ultramarine-vs-navy",
      "/harmonies/navy",
      "/wcag/navy",
      "/css/colors/navy",
      "/hex/000080",
      "/tools/css-gradient-generator",
      "/tools/color-palette-generator",
      "/tools/css-color-mixer",
      "/tools/contrast-checker"
    ]
  },
  "pairings": {
    "best": [
      "#FFFFFF",
      "#7F8000",
      "#004080",
      "#400080"
    ],
    "avoid": [
      "#0E0E71",
      "#0000DB"
    ],
    "neutral": [
      "#1A1A1A",
      "#F5F5F5",
      "#E8E8E4"
    ],
    "highContrast": [
      "#FFFFFF"
    ],
    "lowContrast": [
      "#0000DB",
      "#0E0E71"
    ]
  }
}