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.
Palette Color Roles
Zaffre Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#0014A8Zaffre#A89500#A89500#0068A8#0068A8#4100A8#4100A8#FFFFFFWhiteCSS 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.
UI Components Preview
Preview how the Zaffre Palette roles behave together across common interface components before copying the CSS variables.
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.
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": "#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"
}