Generated palette

Gunmetal Palette

Gunmetal Palette is a generated palette built from #2A3439, #382E29, #293835, #292C38. 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.

Gunmetal Palette combines primary #2A3439, secondary #382E29, surface #293835, background #292C38, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a blue palette, orange palette, cyan 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
6use 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#2A3439Gunmetal
Secondary#382E29#382E29
Surface#293835#293835
Background#292C38#292C38
Accent#FFFFFFWhite

CSS Variables

--palette-gunmetal-primary: #2A3439;
--palette-gunmetal-secondary: #382E29;
--palette-gunmetal-surface: #293835;
--palette-gunmetal-background: #292C38;
--palette-gunmetal-accent: #FFFFFF;

Accessibility Snapshot

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

Primary#2A3439
Black 1.65:1 · White 12.74:1
Best #FFFFFF
Secondary#382E29
Black 1.59:1 · White 13.21:1
Best #FFFFFF
Surface#293835
Black 1.71:1 · White 12.27:1
Best #FFFFFF
Background#292C38
Black 1.51:1 · White 13.89: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 Gunmetal Palette Data (JSON)

Structured palette data for Gunmetal Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.

AI-Ready Dataset v1.0.0
Luminance0.0324
Black text1.65:1AA Fail
White text12.74: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": "#2A3439",
    "name": "Gunmetal"
  },
  {
    "role": "secondary",
    "hex": "#382E29",
    "name": "#382E29"
  },
  {
    "role": "surface",
    "hex": "#293835",
    "name": "#293835"
  },
  {
    "role": "background",
    "hex": "#292C38",
    "name": "#292C38"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#2A3439",
    "name": "Gunmetal",
    "blackContrast": 1.65,
    "whiteContrast": 12.74,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#382E29",
    "name": "#382E29",
    "blackContrast": 1.59,
    "whiteContrast": 13.21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "surface",
    "hex": "#293835",
    "name": "#293835",
    "blackContrast": 1.71,
    "whiteContrast": 12.27,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#292C38",
    "name": "#292C38",
    "blackContrast": 1.51,
    "whiteContrast": 13.89,
    "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
[
  "gunmetal palette",
  "generated palette",
  "blue palette",
  "orange palette",
  "cyan palette",
  "gray palette",
  "dark palette",
  "earth tone palette",
  "light palette",
  "neutral palette",
  "cool palette",
  "warm palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "natural branding",
  "calm digital interfaces"
]
CSS variables
"--palette-gunmetal-primary: #2A3439;\n--palette-gunmetal-secondary: #382E29;\n--palette-gunmetal-surface: #293835;\n--palette-gunmetal-background: #292C38;\n--palette-gunmetal-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "gunmetal",
  "name": "Gunmetal Palette",
  "type": "generated",
  "sourceColor": "gunmetal",
  "description": "Generated palette built from Gunmetal, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Gunmetal Palette combines primary #2A3439, secondary #382E29, surface #293835, background #292C38, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a blue palette, orange palette, cyan 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": [
    "gunmetal palette",
    "generated palette",
    "blue palette",
    "orange palette",
    "cyan palette",
    "gray palette",
    "dark palette",
    "earth tone palette",
    "light palette",
    "neutral palette",
    "cool palette",
    "warm palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "natural branding",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#2A3439",
      "slug": "gunmetal",
      "name": "Gunmetal",
      "rgb": [
        42,
        52,
        57
      ],
      "hsl": [
        200,
        15,
        19
      ],
      "cmyk": [
        26,
        9,
        0,
        78
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "dark"
      ],
      "luminance": 0.0324,
      "contrast": {
        "black": 1.65,
        "white": 12.74
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/gunmetal/"
    },
    {
      "role": "secondary",
      "hex": "#382E29",
      "slug": null,
      "name": "#382E29",
      "rgb": [
        56,
        46,
        41
      ],
      "hsl": [
        20,
        15,
        19
      ],
      "cmyk": [
        0,
        18,
        27,
        78
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "dark",
        "earth-tone"
      ],
      "luminance": 0.0295,
      "contrast": {
        "black": 1.59,
        "white": 13.21
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/382e29/"
    },
    {
      "role": "surface",
      "hex": "#293835",
      "slug": null,
      "name": "#293835",
      "rgb": [
        41,
        56,
        53
      ],
      "hsl": [
        168,
        15,
        19
      ],
      "cmyk": [
        27,
        0,
        5,
        78
      ],
      "family": "cyan",
      "temperature": "cool",
      "tone": [
        "dark"
      ],
      "luminance": 0.0356,
      "contrast": {
        "black": 1.71,
        "white": 12.27
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/293835/"
    },
    {
      "role": "background",
      "hex": "#292C38",
      "slug": null,
      "name": "#292C38",
      "rgb": [
        41,
        44,
        56
      ],
      "hsl": [
        228,
        15,
        19
      ],
      "cmyk": [
        27,
        21,
        0,
        78
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "dark"
      ],
      "luminance": 0.0256,
      "contrast": {
        "black": 1.51,
        "white": 13.89
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/292c38/"
    },
    {
      "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": "#2A3439",
      "name": "Gunmetal"
    },
    {
      "role": "secondary",
      "hex": "#382E29",
      "name": "#382E29"
    },
    {
      "role": "surface",
      "hex": "#293835",
      "name": "#293835"
    },
    {
      "role": "background",
      "hex": "#292C38",
      "name": "#292C38"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#2A3439",
      "name": "Gunmetal",
      "blackContrast": 1.65,
      "whiteContrast": 12.74,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#382E29",
      "name": "#382E29",
      "blackContrast": 1.59,
      "whiteContrast": 13.21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "surface",
      "hex": "#293835",
      "name": "#293835",
      "blackContrast": 1.71,
      "whiteContrast": 12.27,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#292C38",
      "name": "#292C38",
      "blackContrast": 1.51,
      "whiteContrast": 13.89,
      "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-gunmetal-primary: #2A3439;\n--palette-gunmetal-secondary: #382E29;\n--palette-gunmetal-surface: #293835;\n--palette-gunmetal-background: #292C38;\n--palette-gunmetal-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/gunmetal.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/gunmetal.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/gunmetal/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/gunmetal.json"
}