Generated palette

Zaffre Palette

Zaffre Palette: #0014A8, #A89500, #0068A8, #4100A8. Check roles, contrast and CSS variables; open source-color links and JSON.

Zaffre Palette assigns primary #0014A8, secondary #A89500, surface #0068A8, background #4100A8, accent #FFFFFF. The set spans Blue, Yellow, Purple, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #0014A8 at 0.0333 to #FFFFFF at 1; black gives higher contrast on 2 of 5 values.

5colors
Blue palettedominant group
5use cases

Palette Color Roles

Zaffre Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#0014A8Zaffre
Secondary#A89500#A89500
Surface#0068A8#0068A8
Background#4100A8#4100A8
Accent#FFFFFFWhite

CSS Variables

--palette-zaffre-primary: #0014A8;
--palette-zaffre-secondary: #A89500;
--palette-zaffre-surface: #0068A8;
--palette-zaffre-background: #4100A8;
--palette-zaffre-accent: #FFFFFF;

Accessibility Snapshot

Compare all 5 Zaffre Palette values against black and white text, with the stronger standard foreground identified for each role.

Primary#0014A8
Black 1.67:1 · White 12.61:1
Best #FFFFFF
Secondary#A89500
Black 6.96:1 · White 3.02:1
Best #000000
Surface#0068A8
Black 3.55:1 · White 5.92:1
Best #FFFFFF
Background#4100A8
Black 1.79:1 · White 11.73:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

Preview how the Zaffre Palette roles behave together across common interface components before copying the CSS variables.

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 Zaffre Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.0333
Black text1.67:1AA Fail
White text12.61: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": "#0014A8",
    "name": "Zaffre"
  },
  {
    "role": "secondary",
    "hex": "#A89500",
    "name": "#A89500"
  },
  {
    "role": "surface",
    "hex": "#0068A8",
    "name": "#0068A8"
  },
  {
    "role": "background",
    "hex": "#4100A8",
    "name": "#4100A8"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#0014A8",
    "name": "Zaffre",
    "blackContrast": 1.67,
    "whiteContrast": 12.61,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#A89500",
    "name": "#A89500",
    "blackContrast": 6.96,
    "whiteContrast": 3.02,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#0068A8",
    "name": "#0068A8",
    "blackContrast": 3.55,
    "whiteContrast": 5.92,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "background",
    "hex": "#4100A8",
    "name": "#4100A8",
    "blackContrast": 1.79,
    "whiteContrast": 11.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
[
  "zaffre 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-zaffre-primary: #0014A8;\n--palette-zaffre-secondary: #A89500;\n--palette-zaffre-surface: #0068A8;\n--palette-zaffre-background: #4100A8;\n--palette-zaffre-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "zaffre",
  "name": "Zaffre Palette",
  "type": "generated",
  "sourceColor": "zaffre",
  "description": "Generated palette built from Zaffre, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Zaffre Palette combines primary #0014A8, secondary #A89500, surface #0068A8, background #4100A8, 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": [
    "zaffre 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": "#0014A8",
      "slug": "zaffre",
      "name": "Zaffre",
      "rgb": [
        0,
        20,
        168
      ],
      "hsl": [
        233,
        100,
        33
      ],
      "cmyk": [
        100,
        88,
        0,
        34
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.0333,
      "contrast": {
        "black": 1.67,
        "white": 12.61
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/zaffre/"
    },
    {
      "role": "secondary",
      "hex": "#A89500",
      "slug": null,
      "name": "#A89500",
      "rgb": [
        168,
        149,
        0
      ],
      "hsl": [
        53,
        100,
        33
      ],
      "cmyk": [
        0,
        11,
        100,
        34
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.2982,
      "contrast": {
        "black": 6.96,
        "white": 3.02
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#0068A8",
      "slug": null,
      "name": "#0068A8",
      "rgb": [
        0,
        104,
        168
      ],
      "hsl": [
        203,
        100,
        33
      ],
      "cmyk": [
        100,
        38,
        0,
        34
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.1273,
      "contrast": {
        "black": 3.55,
        "white": 5.92
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#4100A8",
      "slug": null,
      "name": "#4100A8",
      "rgb": [
        65,
        0,
        168
      ],
      "hsl": [
        263,
        100,
        33
      ],
      "cmyk": [
        61,
        100,
        0,
        34
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.0395,
      "contrast": {
        "black": 1.79,
        "white": 11.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": "#0014A8",
      "name": "Zaffre"
    },
    {
      "role": "secondary",
      "hex": "#A89500",
      "name": "#A89500"
    },
    {
      "role": "surface",
      "hex": "#0068A8",
      "name": "#0068A8"
    },
    {
      "role": "background",
      "hex": "#4100A8",
      "name": "#4100A8"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#0014A8",
      "name": "Zaffre",
      "blackContrast": 1.67,
      "whiteContrast": 12.61,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#A89500",
      "name": "#A89500",
      "blackContrast": 6.96,
      "whiteContrast": 3.02,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#0068A8",
      "name": "#0068A8",
      "blackContrast": 3.55,
      "whiteContrast": 5.92,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "background",
      "hex": "#4100A8",
      "name": "#4100A8",
      "blackContrast": 1.79,
      "whiteContrast": 11.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-zaffre-primary: #0014A8;\n--palette-zaffre-secondary: #A89500;\n--palette-zaffre-surface: #0068A8;\n--palette-zaffre-background: #4100A8;\n--palette-zaffre-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/zaffre.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/zaffre.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/zaffre/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/zaffre.json"
}