Generated palette
Dark Slate Grey Palette
Dark Slate Grey Palette: #2F4F4F, #503030, #305040, #304050. Check roles, contrast and CSS variables; open source-color links and JSON.
Dark Slate Grey Palette assigns primary #2F4F4F, secondary #503030, surface #305040, background #304050, accent #FFFFFF. The set spans Cyan, Red, Green, and Blue families with cool, warm, and neutral temperatures. Luminance runs from #503030 at 0.0403 to #FFFFFF at 1; black gives higher contrast on 1 of 5 values.
Palette Color Roles
Dark Slate Grey Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#2F4F4FDark Slate Grey#503030#503030#305040#305040#304050#304050#FFFFFFWhiteCSS Variables
--palette-dark-slate-grey-primary: #2F4F4F; --palette-dark-slate-grey-secondary: #503030; --palette-dark-slate-grey-surface: #305040; --palette-dark-slate-grey-background: #304050; --palette-dark-slate-grey-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Dark Slate Grey Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Dark Slate Grey Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Dark Slate Grey Palette Data (JSON)
Structured palette data for Dark Slate Grey 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": "#2F4F4F",
"name": "Dark Slate Grey"
},
{
"role": "secondary",
"hex": "#503030",
"name": "#503030"
},
{
"role": "surface",
"hex": "#305040",
"name": "#305040"
},
{
"role": "background",
"hex": "#304050",
"name": "#304050"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#2F4F4F",
"name": "Dark Slate Grey",
"blackContrast": 2.35,
"whiteContrast": 8.93,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#503030",
"name": "#503030",
"blackContrast": 1.81,
"whiteContrast": 11.63,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#305040",
"name": "#305040",
"blackContrast": 2.35,
"whiteContrast": 8.94,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#304050",
"name": "#304050",
"blackContrast": 1.97,
"whiteContrast": 10.64,
"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
[
"dark slate grey palette",
"generated palette",
"cyan palette",
"red palette",
"green palette",
"blue palette",
"gray palette",
"muted palette",
"earth tone palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"quiet UI themes",
"natural branding",
"wellness and botanical palettes"
]CSS variables
"--palette-dark-slate-grey-primary: #2F4F4F;\n--palette-dark-slate-grey-secondary: #503030;\n--palette-dark-slate-grey-surface: #305040;\n--palette-dark-slate-grey-background: #304050;\n--palette-dark-slate-grey-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "dark-slate-grey",
"name": "Dark Slate Grey Palette",
"type": "generated",
"sourceColor": "dark-slate-grey",
"description": "Generated palette built from Dark Slate Grey, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Dark Slate Grey Palette combines primary #2F4F4F, secondary #503030, surface #305040, background #304050, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a cyan palette, red palette, green 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": [
"dark slate grey palette",
"generated palette",
"cyan palette",
"red palette",
"green palette",
"blue palette",
"gray palette",
"muted palette",
"earth tone palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"quiet UI themes",
"natural branding",
"wellness and botanical palettes"
],
"colors": [
{
"role": "primary",
"hex": "#2F4F4F",
"slug": "dark-slate-grey",
"name": "Dark Slate Grey",
"rgb": [
47,
79,
79
],
"hsl": [
180,
25,
25
],
"cmyk": [
41,
0,
0,
69
],
"family": "cyan",
"temperature": "cool",
"tone": [
"muted"
],
"luminance": 0.0676,
"contrast": {
"black": 2.35,
"white": 8.93
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/dark-slate-grey/"
},
{
"role": "secondary",
"hex": "#503030",
"slug": null,
"name": "#503030",
"rgb": [
80,
48,
48
],
"hsl": [
0,
25,
25
],
"cmyk": [
0,
40,
40,
69
],
"family": "red",
"temperature": "warm",
"tone": [
"muted"
],
"luminance": 0.0403,
"contrast": {
"black": 1.81,
"white": 11.63
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "surface",
"hex": "#305040",
"slug": null,
"name": "#305040",
"rgb": [
48,
80,
64
],
"hsl": [
150,
25,
25
],
"cmyk": [
40,
0,
20,
69
],
"family": "green",
"temperature": "cool",
"tone": [
"muted",
"earth-tone"
],
"luminance": 0.0674,
"contrast": {
"black": 2.35,
"white": 8.94
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "background",
"hex": "#304050",
"slug": null,
"name": "#304050",
"rgb": [
48,
64,
80
],
"hsl": [
210,
25,
25
],
"cmyk": [
40,
20,
0,
69
],
"family": "blue",
"temperature": "cool",
"tone": [
"muted"
],
"luminance": 0.0487,
"contrast": {
"black": 1.97,
"white": 10.64
},
"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": "#2F4F4F",
"name": "Dark Slate Grey"
},
{
"role": "secondary",
"hex": "#503030",
"name": "#503030"
},
{
"role": "surface",
"hex": "#305040",
"name": "#305040"
},
{
"role": "background",
"hex": "#304050",
"name": "#304050"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#2F4F4F",
"name": "Dark Slate Grey",
"blackContrast": 2.35,
"whiteContrast": 8.93,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#503030",
"name": "#503030",
"blackContrast": 1.81,
"whiteContrast": 11.63,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#305040",
"name": "#305040",
"blackContrast": 2.35,
"whiteContrast": 8.94,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#304050",
"name": "#304050",
"blackContrast": 1.97,
"whiteContrast": 10.64,
"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-dark-slate-grey-primary: #2F4F4F;\n--palette-dark-slate-grey-secondary: #503030;\n--palette-dark-slate-grey-surface: #305040;\n--palette-dark-slate-grey-background: #304050;\n--palette-dark-slate-grey-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/dark-slate-grey.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/dark-slate-grey.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/dark-slate-grey/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/dark-slate-grey.json"
}