Generated palette
Navy Palette
Navy Palette: #000080, #7F8000, #004080, #400080. Check roles, contrast and CSS variables; open source-color links and JSON.
Navy Palette assigns primary #000080, secondary #7F8000, surface #004080, background #400080, accent #FFFFFF. The set spans Blue, Yellow, Purple, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #000080 at 0.0156 to #FFFFFF at 1; black gives higher contrast on 2 of 5 values.
Palette Color Roles
Navy Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#000080Navy Blue#7F8000#7F8000#004080#004080#400080#400080#FFFFFFWhiteCSS Variables
--palette-navy-primary: #000080; --palette-navy-secondary: #7F8000; --palette-navy-surface: #004080; --palette-navy-background: #400080; --palette-navy-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Navy Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Navy Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Navy Palette Data (JSON)
Structured palette data for Navy Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.
colorsPalette colors with roles and color systemsrolesPrimary, secondary, surface, background, and accent mappingaccessibilityContrast and WCAG text options by palette colorsemanticGroupsAI-readable palette labelsuseCasesDesign and implementation contextscssVariablesCopy-ready CSS custom propertiesStructured sections
Roles
[
{
"role": "primary",
"hex": "#000080",
"name": "Navy Blue"
},
{
"role": "secondary",
"hex": "#7F8000",
"name": "#7F8000"
},
{
"role": "surface",
"hex": "#004080",
"name": "#004080"
},
{
"role": "background",
"hex": "#400080",
"name": "#400080"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#000080",
"name": "Navy Blue",
"blackContrast": 1.31,
"whiteContrast": 16.01,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#7F8000",
"name": "#7F8000",
"blackContrast": 4.99,
"whiteContrast": 4.21,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#004080",
"name": "#004080",
"blackContrast": 2.05,
"whiteContrast": 10.26,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#400080",
"name": "#400080",
"blackContrast": 1.53,
"whiteContrast": 13.73,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
]Semantic groups
[
"navy palette",
"generated palette",
"blue palette",
"yellow palette",
"purple palette",
"gray palette",
"dark palette",
"classic palette",
"balanced palette",
"jewel tone palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"calm digital interfaces"
]CSS variables
"--palette-navy-primary: #000080;\n--palette-navy-secondary: #7F8000;\n--palette-navy-surface: #004080;\n--palette-navy-background: #400080;\n--palette-navy-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "navy",
"name": "Navy Palette",
"type": "generated",
"sourceColor": "navy",
"description": "Generated palette built from Navy, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Navy Palette combines primary #000080, secondary #7F8000, surface #004080, background #400080, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a blue palette, yellow palette, purple palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
"semanticGroups": [
"navy palette",
"generated palette",
"blue palette",
"yellow palette",
"purple palette",
"gray palette",
"dark palette",
"classic palette",
"balanced palette",
"jewel tone palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"calm digital interfaces"
],
"colors": [
{
"role": "primary",
"hex": "#000080",
"slug": "navy-blue",
"name": "Navy Blue",
"rgb": [
0,
0,
128
],
"hsl": [
240,
100,
25
],
"cmyk": [
100,
100,
0,
50
],
"family": "blue",
"temperature": "cool",
"tone": [
"dark",
"classic"
],
"luminance": 0.0156,
"contrast": {
"black": 1.31,
"white": 16.01
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/navy-blue/"
},
{
"role": "secondary",
"hex": "#7F8000",
"slug": null,
"name": "#7F8000",
"rgb": [
127,
128,
0
],
"hsl": [
60,
100,
25
],
"cmyk": [
1,
0,
100,
50
],
"family": "yellow",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.1995,
"contrast": {
"black": 4.99,
"white": 4.21
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": null
},
{
"role": "surface",
"hex": "#004080",
"slug": null,
"name": "#004080",
"rgb": [
0,
64,
128
],
"hsl": [
210,
100,
25
],
"cmyk": [
100,
50,
0,
50
],
"family": "blue",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0523,
"contrast": {
"black": 2.05,
"white": 10.26
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "background",
"hex": "#400080",
"slug": null,
"name": "#400080",
"rgb": [
64,
0,
128
],
"hsl": [
270,
100,
25
],
"cmyk": [
50,
100,
0,
50
],
"family": "purple",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0265,
"contrast": {
"black": 1.53,
"white": 13.73
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "accent",
"hex": "#FFFFFF",
"slug": "white",
"name": "White",
"rgb": [
255,
255,
255
],
"hsl": [
0,
0,
100
],
"cmyk": [
0,
0,
0,
0
],
"family": "gray",
"temperature": "neutral",
"tone": [
"light",
"neutral"
],
"luminance": 1,
"contrast": {
"black": 21,
"white": 1
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"url": "https://www.colorsencyclopedia.com/colors/white/"
}
],
"roles": [
{
"role": "primary",
"hex": "#000080",
"name": "Navy Blue"
},
{
"role": "secondary",
"hex": "#7F8000",
"name": "#7F8000"
},
{
"role": "surface",
"hex": "#004080",
"name": "#004080"
},
{
"role": "background",
"hex": "#400080",
"name": "#400080"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#000080",
"name": "Navy Blue",
"blackContrast": 1.31,
"whiteContrast": 16.01,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#7F8000",
"name": "#7F8000",
"blackContrast": 4.99,
"whiteContrast": 4.21,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#004080",
"name": "#004080",
"blackContrast": 2.05,
"whiteContrast": 10.26,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#400080",
"name": "#400080",
"blackContrast": 1.53,
"whiteContrast": 13.73,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
],
"cssVariables": "--palette-navy-primary: #000080;\n--palette-navy-secondary: #7F8000;\n--palette-navy-surface: #004080;\n--palette-navy-background: #400080;\n--palette-navy-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/navy.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/navy.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/navy/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/navy.json"
}