Generated palette
Persian Blue Palette
Persian Blue Palette: #1C39BB, #BA9D1C, #1C88BA, #4E1CBA. Check roles, contrast and CSS variables; open source-color links and JSON.
Persian Blue Palette assigns primary #1C39BB, secondary #BA9D1C, surface #1C88BA, background #4E1CBA, accent #FFFFFF. The set spans Blue, Yellow, Purple, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #4E1CBA at 0.06 to #FFFFFF at 1; black gives higher contrast on 3 of 5 values.
Palette Color Roles
Persian Blue Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#1C39BBPersian Blue#BA9D1C#BA9D1C#1C88BA#1C88BA#4E1CBA#4E1CBA#FFFFFFWhiteCSS Variables
--palette-persian-blue-primary: #1C39BB; --palette-persian-blue-secondary: #BA9D1C; --palette-persian-blue-surface: #1C88BA; --palette-persian-blue-background: #4E1CBA; --palette-persian-blue-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Persian Blue Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Persian Blue Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Persian Blue Palette Data (JSON)
Structured palette data for Persian 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": "#1C39BB",
"name": "Persian Blue"
},
{
"role": "secondary",
"hex": "#BA9D1C",
"name": "#BA9D1C"
},
{
"role": "surface",
"hex": "#1C88BA",
"name": "#1C88BA"
},
{
"role": "background",
"hex": "#4E1CBA",
"name": "#4E1CBA"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#1C39BB",
"name": "Persian Blue",
"blackContrast": 2.35,
"whiteContrast": 8.93,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#BA9D1C",
"name": "#BA9D1C",
"blackContrast": 7.93,
"whiteContrast": 2.65,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": [
"#000000"
]
},
{
"role": "surface",
"hex": "#1C88BA",
"name": "#1C88BA",
"blackContrast": 5.28,
"whiteContrast": 3.98,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#4E1CBA",
"name": "#4E1CBA",
"blackContrast": 2.2,
"whiteContrast": 9.55,
"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
[
"persian blue palette",
"generated palette",
"blue palette",
"yellow palette",
"purple palette",
"gray palette",
"vibrant palette",
"jewel tone 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-persian-blue-primary: #1C39BB;\n--palette-persian-blue-secondary: #BA9D1C;\n--palette-persian-blue-surface: #1C88BA;\n--palette-persian-blue-background: #4E1CBA;\n--palette-persian-blue-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "persian-blue",
"name": "Persian Blue Palette",
"type": "generated",
"sourceColor": "persian-blue",
"description": "Generated palette built from Persian Blue, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Persian Blue Palette combines primary #1C39BB, secondary #BA9D1C, surface #1C88BA, background #4E1CBA, 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": [
"persian blue palette",
"generated palette",
"blue palette",
"yellow palette",
"purple palette",
"gray palette",
"vibrant palette",
"jewel tone 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": "#1C39BB",
"slug": "persian-blue",
"name": "Persian Blue",
"rgb": [
28,
57,
187
],
"hsl": [
229,
74,
42
],
"cmyk": [
85,
70,
0,
27
],
"family": "blue",
"temperature": "cool",
"tone": [
"vibrant",
"jewel-tone"
],
"luminance": 0.0676,
"contrast": {
"black": 2.35,
"white": 8.93
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/persian-blue/"
},
{
"role": "secondary",
"hex": "#BA9D1C",
"slug": null,
"name": "#BA9D1C",
"rgb": [
186,
157,
28
],
"hsl": [
49,
74,
42
],
"cmyk": [
0,
16,
85,
27
],
"family": "yellow",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.3464,
"contrast": {
"black": 7.93,
"white": 2.65
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": [
"#000000"
]
},
"url": null
},
{
"role": "surface",
"hex": "#1C88BA",
"slug": null,
"name": "#1C88BA",
"rgb": [
28,
136,
186
],
"hsl": [
199,
74,
42
],
"cmyk": [
85,
27,
0,
27
],
"family": "blue",
"temperature": "cool",
"tone": [
"vibrant",
"jewel-tone"
],
"luminance": 0.214,
"contrast": {
"black": 5.28,
"white": 3.98
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": null
},
{
"role": "background",
"hex": "#4E1CBA",
"slug": null,
"name": "#4E1CBA",
"rgb": [
78,
28,
186
],
"hsl": [
259,
74,
42
],
"cmyk": [
58,
85,
0,
27
],
"family": "purple",
"temperature": "cool",
"tone": [
"vibrant",
"jewel-tone"
],
"luminance": 0.06,
"contrast": {
"black": 2.2,
"white": 9.55
},
"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": "#1C39BB",
"name": "Persian Blue"
},
{
"role": "secondary",
"hex": "#BA9D1C",
"name": "#BA9D1C"
},
{
"role": "surface",
"hex": "#1C88BA",
"name": "#1C88BA"
},
{
"role": "background",
"hex": "#4E1CBA",
"name": "#4E1CBA"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#1C39BB",
"name": "Persian Blue",
"blackContrast": 2.35,
"whiteContrast": 8.93,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#BA9D1C",
"name": "#BA9D1C",
"blackContrast": 7.93,
"whiteContrast": 2.65,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": [
"#000000"
]
},
{
"role": "surface",
"hex": "#1C88BA",
"name": "#1C88BA",
"blackContrast": 5.28,
"whiteContrast": 3.98,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#4E1CBA",
"name": "#4E1CBA",
"blackContrast": 2.2,
"whiteContrast": 9.55,
"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-persian-blue-primary: #1C39BB;\n--palette-persian-blue-secondary: #BA9D1C;\n--palette-persian-blue-surface: #1C88BA;\n--palette-persian-blue-background: #4E1CBA;\n--palette-persian-blue-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/persian-blue.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/persian-blue.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/persian-blue/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/persian-blue.json"
}