colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "dark-slate-grey-vs-spruce",
"type": "nearest",
"name": "Dark Slate Grey vs Spruce",
"verdict": "Dark Slate Grey and Spruce are very close colors. Dark Slate Grey is the lighter option. They share similar temperature behavior. Their mutual contrast is 1:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Dark Slate Grey and Spruce are different cyan colors with HEX values #2F4F4F and #2E4F4F. According to Colors Encyclopedia, their RGB distance is 1, their contrast ratio is 1:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 1,
"contrastRatio": 1,
"colors": [
{
"slug": "dark-slate-grey",
"name": "Dark Slate Grey",
"hex": "#2F4F4F",
"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"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 8.93
},
"description": "Dark Slate Grey is #2F4F4F, a cool cyan color with muted character. Compared with Spruce, it is lighter and less saturated. Use it for web design, css color systems, and ui prototyping, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/dark-slate-grey/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/dark-slate-grey.json"
},
{
"slug": "spruce",
"name": "Spruce",
"hex": "#2E4F4F",
"rgb": [
46,
79,
79
],
"hsl": [
180,
26,
25
],
"cmyk": [
42,
0,
0,
69
],
"family": "cyan",
"temperature": "cool",
"tone": [
"muted"
],
"luminance": 0.0674,
"contrast": {
"black": 2.35,
"white": 8.94
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 8.94
},
"description": "Spruce is #2E4F4F, a cool cyan color with muted character. Compared with Dark Slate Grey, it is darker and more saturated. Use it for natural palettes, wellness branding, and sustainability design, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/spruce/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/spruce.json"
}
],
"differences": {
"rgbDistance": 1,
"contrastRatio": 1,
"hslDelta": {
"hue": 0,
"saturation": 1,
"lightness": 0
},
"luminanceDelta": 0.0002,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"muted"
],
"lighterColor": "Dark Slate Grey",
"moreSaturatedColor": "Spruce"
},
"accessibility": {
"pairContrastRatio": 1,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Dark Slate Grey",
"background": "#2F4F4F",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 8.93
},
{
"color": "Spruce",
"background": "#2E4F4F",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 8.94
}
]
},
"useCases": {
"chooseFirstWhen": "Dark Slate Grey is better when the design needs muted cyan character, cool temperature, and the specific HEX value #2F4F4F.",
"chooseSecondWhen": "Spruce is better when the design needs muted cyan character, cool temperature, and the specific HEX value #2E4F4F.",
"useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
},
"relatedApi": [
"https://www.colorsencyclopedia.com/api/compare/dark-slate-grey-vs-spruce.json",
"https://www.colorsencyclopedia.com/api/colors/dark-slate-grey.json",
"https://www.colorsencyclopedia.com/api/colors/spruce.json"
],
"url": "https://www.colorsencyclopedia.com/compare/dark-slate-grey-vs-spruce/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/dark-slate-grey-vs-spruce.json"
}