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": "charcoal-vs-dark-slate-grey",
"type": "nearest",
"name": "Charcoal vs Dark Slate Grey",
"verdict": "Charcoal and Dark Slate Grey are very close colors. Dark Slate Grey is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.11:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Charcoal and Dark Slate Grey are different gray and cyan colors with HEX values #36454F and #2F4F4F. According to Colors Encyclopedia, their RGB distance is 12.2, their contrast ratio is 1.11:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 12.2,
"contrastRatio": 1.11,
"colors": [
{
"slug": "charcoal",
"name": "Charcoal",
"hex": "#36454F",
"rgb": [
54,
69,
79
],
"hsl": [
204,
19,
26
],
"cmyk": [
32,
13,
0,
69
],
"family": "gray",
"temperature": "cool",
"tone": [
"dark",
"neutral"
],
"luminance": 0.0561,
"contrast": {
"black": 2.12,
"white": 9.9
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 9.9
},
"description": "Charcoal is #36454F, a cool gray color with dark and neutral character. Compared with Dark Slate Grey, it is darker and less saturated. Use it for text, ui surfaces, and minimal branding, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/charcoal/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/charcoal.json"
},
{
"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 Charcoal, it is lighter and more 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"
}
],
"differences": {
"rgbDistance": 12.2,
"contrastRatio": 1.11,
"hslDelta": {
"hue": 24,
"saturation": 6,
"lightness": 1
},
"luminanceDelta": 0.0115,
"sameFamily": false,
"sameTemperature": true,
"sharedTones": [],
"lighterColor": "Dark Slate Grey",
"moreSaturatedColor": "Dark Slate Grey"
},
"accessibility": {
"pairContrastRatio": 1.11,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Charcoal",
"background": "#36454F",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 9.9
},
{
"color": "Dark Slate Grey",
"background": "#2F4F4F",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 8.93
}
]
},
"useCases": {
"chooseFirstWhen": "Charcoal is better when the design needs dark and neutral gray character, cool temperature, and the specific HEX value #36454F.",
"chooseSecondWhen": "Dark Slate Grey is better when the design needs muted cyan character, cool temperature, and the specific HEX value #2F4F4F.",
"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/charcoal-vs-dark-slate-grey.json",
"https://www.colorsencyclopedia.com/api/colors/charcoal.json",
"https://www.colorsencyclopedia.com/api/colors/dark-slate-grey.json"
],
"url": "https://www.colorsencyclopedia.com/compare/charcoal-vs-dark-slate-grey/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/charcoal-vs-dark-slate-grey.json"
}