Generated palette
Ultramarine Palette
Ultramarine Palette: #120A8F, #868F0A, #0A448F, #550A8F. Check roles, contrast and CSS variables; open source-color links and JSON.
Ultramarine Palette assigns primary #120A8F, secondary #868F0A, surface #0A448F, background #550A8F, accent #FFFFFF. The set spans Blue, Yellow, Purple, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #120A8F at 0.0233 to #FFFFFF at 1; black gives higher contrast on 2 of 5 values.
Palette Color Roles
Ultramarine Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#120A8FUltramarine#868F0A#868F0A#0A448F#0A448F#550A8F#550A8F#FFFFFFWhiteCSS Variables
--palette-ultramarine-primary: #120A8F; --palette-ultramarine-secondary: #868F0A; --palette-ultramarine-surface: #0A448F; --palette-ultramarine-background: #550A8F; --palette-ultramarine-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Ultramarine Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Ultramarine Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Ultramarine Palette Data (JSON)
Structured palette data for Ultramarine 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": "#120A8F",
"name": "Ultramarine"
},
{
"role": "secondary",
"hex": "#868F0A",
"name": "#868F0A"
},
{
"role": "surface",
"hex": "#0A448F",
"name": "#0A448F"
},
{
"role": "background",
"hex": "#550A8F",
"name": "#550A8F"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#120A8F",
"name": "Ultramarine",
"blackContrast": 1.47,
"whiteContrast": 14.32,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#868F0A",
"name": "#868F0A",
"blackContrast": 5.95,
"whiteContrast": 3.53,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#0A448F",
"name": "#0A448F",
"blackContrast": 2.24,
"whiteContrast": 9.39,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#550A8F",
"name": "#550A8F",
"blackContrast": 1.83,
"whiteContrast": 11.5,
"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
[
"ultramarine 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-ultramarine-primary: #120A8F;\n--palette-ultramarine-secondary: #868F0A;\n--palette-ultramarine-surface: #0A448F;\n--palette-ultramarine-background: #550A8F;\n--palette-ultramarine-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "ultramarine",
"name": "Ultramarine Palette",
"type": "generated",
"sourceColor": "ultramarine",
"description": "Generated palette built from Ultramarine, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Ultramarine Palette combines primary #120A8F, secondary #868F0A, surface #0A448F, background #550A8F, 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": [
"ultramarine 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": "#120A8F",
"slug": "ultramarine",
"name": "Ultramarine",
"rgb": [
18,
10,
143
],
"hsl": [
244,
87,
30
],
"cmyk": [
87,
93,
0,
44
],
"family": "blue",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0233,
"contrast": {
"black": 1.47,
"white": 14.32
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/ultramarine/"
},
{
"role": "secondary",
"hex": "#868F0A",
"slug": null,
"name": "#868F0A",
"rgb": [
134,
143,
10
],
"hsl": [
64,
87,
30
],
"cmyk": [
6,
0,
93,
44
],
"family": "yellow",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.2474,
"contrast": {
"black": 5.95,
"white": 3.53
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": []
},
"url": null
},
{
"role": "surface",
"hex": "#0A448F",
"slug": null,
"name": "#0A448F",
"rgb": [
10,
68,
143
],
"hsl": [
214,
87,
30
],
"cmyk": [
93,
52,
0,
44
],
"family": "blue",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0618,
"contrast": {
"black": 2.24,
"white": 9.39
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "background",
"hex": "#550A8F",
"slug": null,
"name": "#550A8F",
"rgb": [
85,
10,
143
],
"hsl": [
274,
87,
30
],
"cmyk": [
41,
93,
0,
44
],
"family": "purple",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.0413,
"contrast": {
"black": 1.83,
"white": 11.5
},
"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": "#120A8F",
"name": "Ultramarine"
},
{
"role": "secondary",
"hex": "#868F0A",
"name": "#868F0A"
},
{
"role": "surface",
"hex": "#0A448F",
"name": "#0A448F"
},
{
"role": "background",
"hex": "#550A8F",
"name": "#550A8F"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#120A8F",
"name": "Ultramarine",
"blackContrast": 1.47,
"whiteContrast": 14.32,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#868F0A",
"name": "#868F0A",
"blackContrast": 5.95,
"whiteContrast": 3.53,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#0A448F",
"name": "#0A448F",
"blackContrast": 2.24,
"whiteContrast": 9.39,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#550A8F",
"name": "#550A8F",
"blackContrast": 1.83,
"whiteContrast": 11.5,
"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-ultramarine-primary: #120A8F;\n--palette-ultramarine-secondary: #868F0A;\n--palette-ultramarine-surface: #0A448F;\n--palette-ultramarine-background: #550A8F;\n--palette-ultramarine-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/ultramarine.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/ultramarine.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/ultramarine/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/ultramarine.json"
}