Generated palette
Dark Blue Palette
Dark Blue Palette: #00008B, #8A8A00, #00458A, #45008A. Check roles, contrast and CSS variables; open source-color links and JSON.
Dark Blue Palette assigns primary #00008B, secondary #8A8A00, surface #00458A, background #45008A, accent #FFFFFF. The set spans Blue, Yellow, Purple, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #00008B at 0.0186 to #FFFFFF at 1; black gives higher contrast on 2 of 5 values.
Palette Color Roles
Dark Blue Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#00008BDark Blue#8A8A00#8A8A00#00458A#00458A#45008A#45008A#FFFFFFWhiteCSS Variables
--palette-dark-blue-primary: #00008B; --palette-dark-blue-secondary: #8A8A00; --palette-dark-blue-surface: #00458A; --palette-dark-blue-background: #45008A; --palette-dark-blue-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Dark Blue Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Dark Blue Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Dark Blue Palette Data (JSON)
Structured palette data for Dark Blue 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": "#00008B",
"name": "Dark Blue"
},
{
"role": "secondary",
"hex": "#8A8A00",
"name": "#8A8A00"
},
{
"role": "surface",
"hex": "#00458A",
"name": "#00458A"
},
{
"role": "background",
"hex": "#45008A",
"name": "#45008A"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#00008B",
"name": "Dark Blue",
"blackContrast": 1.37,
"whiteContrast": 15.31,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#8A8A00",
"name": "#8A8A00",
"blackContrast": 5.72,
"whiteContrast": 3.67,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#00458A",
"name": "#00458A",
"blackContrast": 2.22,
"whiteContrast": 9.47,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#45008A",
"name": "#45008A",
"blackContrast": 1.62,
"whiteContrast": 12.96,
"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
[
"dark blue palette",
"generated palette",
"blue palette",
"yellow palette",
"purple palette",
"gray palette",
"jewel tone palette",
"balanced 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-dark-blue-primary: #00008B;\n--palette-dark-blue-secondary: #8A8A00;\n--palette-dark-blue-surface: #00458A;\n--palette-dark-blue-background: #45008A;\n--palette-dark-blue-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "dark-blue",
"name": "Dark Blue Palette",
"type": "generated",
"sourceColor": "dark-blue",
"description": "Generated palette built from Dark Blue, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Dark Blue Palette combines primary #00008B, secondary #8A8A00, surface #00458A, background #45008A, 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": [
"dark blue palette",
"generated palette",
"blue palette",
"yellow palette",
"purple palette",
"gray palette",
"jewel tone palette",
"balanced 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": "#00008B",
"slug": "dark-blue",
"name": "Dark Blue",
"rgb": [
0,
0,
139
],
"hsl": [
240,
100,
27
],
"cmyk": [
100,
100,
0,
45
],
"family": "blue",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0186,
"contrast": {
"black": 1.37,
"white": 15.31
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/dark-blue/"
},
{
"role": "secondary",
"hex": "#8A8A00",
"slug": null,
"name": "#8A8A00",
"rgb": [
138,
138,
0
],
"hsl": [
60,
100,
27
],
"cmyk": [
0,
0,
100,
46
],
"family": "yellow",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.2358,
"contrast": {
"black": 5.72,
"white": 3.67
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": []
},
"url": null
},
{
"role": "surface",
"hex": "#00458A",
"slug": null,
"name": "#00458A",
"rgb": [
0,
69,
138
],
"hsl": [
210,
100,
27
],
"cmyk": [
100,
50,
0,
46
],
"family": "blue",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0609,
"contrast": {
"black": 2.22,
"white": 9.47
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "background",
"hex": "#45008A",
"slug": null,
"name": "#45008A",
"rgb": [
69,
0,
138
],
"hsl": [
270,
100,
27
],
"cmyk": [
50,
100,
0,
46
],
"family": "purple",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.031,
"contrast": {
"black": 1.62,
"white": 12.96
},
"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": "#00008B",
"name": "Dark Blue"
},
{
"role": "secondary",
"hex": "#8A8A00",
"name": "#8A8A00"
},
{
"role": "surface",
"hex": "#00458A",
"name": "#00458A"
},
{
"role": "background",
"hex": "#45008A",
"name": "#45008A"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#00008B",
"name": "Dark Blue",
"blackContrast": 1.37,
"whiteContrast": 15.31,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#8A8A00",
"name": "#8A8A00",
"blackContrast": 5.72,
"whiteContrast": 3.67,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#00458A",
"name": "#00458A",
"blackContrast": 2.22,
"whiteContrast": 9.47,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#45008A",
"name": "#45008A",
"blackContrast": 1.62,
"whiteContrast": 12.96,
"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-dark-blue-primary: #00008B;\n--palette-dark-blue-secondary: #8A8A00;\n--palette-dark-blue-surface: #00458A;\n--palette-dark-blue-background: #45008A;\n--palette-dark-blue-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/dark-blue.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/dark-blue.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/dark-blue/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/dark-blue.json"
}