{"datasetVersion":"1.0.0","slug":"dark-slate-gray","name":"Dark Slate Gray","hex":"#2F4F4F","rgb":[47,79,79],"hsl":[180,25,25],"luminance":0.0676,"contrast":{"black":2.35,"white":8.93},"ratings":{"blackText":"fail","whiteText":"AAA"},"wcag":{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]},"narrative":"Dark Slate Gray has strong WCAG behavior because it reaches AAA contrast with #FFFFFF and #F5F5F5 text. It can be used for normal text, badges, compact UI, and interface components when paired with the listed foreground colors.","warnings":["Very dark surfaces need careful hover, focus, and disabled-state treatment.","Avoid placing text over photos, gradients, or translucent overlays without retesting the final composite color."],"safePairings":{"text":[{"label":"White text","hex":"#FFFFFF","ratio":8.93,"rating":"AAA"},{"label":"Soft white text","hex":"#F5F5F5","ratio":8.19,"rating":"AAA"}],"backgrounds":[{"label":"White","hex":"#FFFFFF","ratio":8.93,"rating":"AAA"},{"label":"White Smoke","hex":"#F5F5F5","ratio":8.19,"rating":"AAA"}],"borders":[{"label":"#00A8A8","hex":"#00A8A8","ratio":3.05,"rating":"large-text-only"}]},"accessibilityAlternatives":[{"slug":"charcoal","name":"Charcoal","hex":"#36454F","family":"gray","temperature":"cool","tone":["dark","neutral"],"blackContrast":2.12,"whiteContrast":9.9,"maxContrast":9.9,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/charcoal/"},{"slug":"slate-navy","name":"Slate Navy","hex":"#30475E","family":"blue","temperature":"cool","tone":["balanced"],"blackContrast":2.19,"whiteContrast":9.6,"maxContrast":9.6,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/slate-navy/"},{"slug":"pine-needle","name":"Pine Needle","hex":"#334D41","family":"green","temperature":"cool","tone":["muted","earth-tone"],"blackContrast":2.28,"whiteContrast":9.22,"maxContrast":9.22,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/pine-needle/"},{"slug":"spruce","name":"Spruce","hex":"#2E4F4F","family":"cyan","temperature":"cool","tone":["muted"],"blackContrast":2.35,"whiteContrast":8.94,"maxContrast":8.94,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/spruce/"},{"slug":"dark-slate-grey","name":"Dark Slate Grey","hex":"#2F4F4F","family":"cyan","temperature":"cool","tone":["muted"],"blackContrast":2.35,"whiteContrast":8.93,"maxContrast":8.93,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/dark-slate-grey/"}],"componentGuidance":[{"component":"Buttons","guidance":"Use only with AA-passing foreground text and visible focus states."},{"component":"Badges","guidance":"Works best with bold labels and enough padding around text."},{"component":"Cards","guidance":"Use as a surface when paired with a tested text color and clear border."},{"component":"Alerts","guidance":"Pair with icons or labels; do not rely on color alone."},{"component":"Form fields","guidance":"Use for borders or focus rings only when contrast remains visible."}],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/wcag/dark-slate-gray.json","https://www.colorsencyclopedia.com/api/colors/dark-slate-gray.json"],"url":"https://www.colorsencyclopedia.com/wcag/dark-slate-gray/","colorUrl":"https://www.colorsencyclopedia.com/colors/dark-slate-gray/","apiUrl":"https://www.colorsencyclopedia.com/api/wcag/dark-slate-gray.json","generatedAt":"2026-07-23T19:04:03.408Z"}
