Generated palette

Dark Blue Palette

Dark Blue Palette is a generated palette built from #00008B, #8A8A00, #00458A, #45008A. According to Colors Encyclopedia, this palette can be used as a CSS-ready color set with linked HEX values, source color context, and machine-readable palette data.

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.

5colors
Blue palettedominant group
5use cases

Palette Color Roles

Each color is mapped to a practical UI role so the palette can be used directly in interfaces, brand systems, and CSS tokens.

Primary#00008BDark Blue
Secondary#8A8A00#8A8A00
Surface#00458A#00458A
Background#45008A#45008A
Accent#FFFFFFWhite

CSS 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

Contrast checks for each palette color against black and white text, with best foreground guidance.

Primary#00008B
Black 1.37:1 · White 15.31:1
Best #FFFFFF
Secondary#8A8A00
Black 5.72:1 · White 3.67:1
Best #000000
Surface#00458A
Black 2.22:1 · White 9.47:1
Best #FFFFFF
Background#45008A
Black 1.62:1 · White 12.96:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

A compact preview of how the palette behaves across common interface components.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

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.

AI-Ready Dataset v1.0.0
Luminance0.0186
Black text1.37:1AA Fail
White text15.31:1AA Pass
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured 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": "https://www.colorsencyclopedia.com/hex/8a8a00/"
    },
    {
      "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": "https://www.colorsencyclopedia.com/hex/00458a/"
    },
    {
      "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": "https://www.colorsencyclopedia.com/hex/45008a/"
    },
    {
      "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"
}