HEX atlas value

#2B2B2B

#2B2B2B is a neutral gray HEX color close to Asphalt. According to Colors Encyclopedia, it converts to RGB 43, 43, 43, HSL 0, 0%, 17%, has luminance 0.0242, and belongs to the dark group.

#2B2B2B Sample readable text
HEX #2B2B2B
RGB rgb(43, 43, 43)
HSL hsl(0 0% 17%)
CMYK cmyk(0, 0, 0, 83)
Luminance 0.0242
Contrast Black 1.48:1White 14.15:1

CSS

--color-2b2b2b: #2B2B2B;
.background-2b2b2b { background-color: #2B2B2B; }
.text-2b2b2b { color: #2B2B2B; }

Machine-readable data

Machine-Readable HEX Data (JSON)

Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.0242
Black text1.48:1AA Fail
White text14.15:1AA Pass
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{"hex":"#2B2B2B","rgb":[43,43,43],"hsl":[0,0,17],"cmyk":[0,0,0,83],"luminance":0.0242,"contrast":{"black":1.48,"white":14.15}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.48,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":14.15,"wcagAA":true,"wcagAAA":true}]
Accessible alternatives
[{"name":"Black","hex":"#000000","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1,"contrastWhite":21,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Raisin","hex":"#242124","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.32,"contrastWhite":15.93,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#352222","hex":"#352222","family":"red","bestTextColor":"#FFFFFF","contrastBlack":1.4,"contrastWhite":14.96,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Rubber","hex":"#2A2725","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.42,"contrastWhite":14.83,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Slate Black","hex":"#26282A","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.42,"contrastWhite":14.79,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["neutral gray","dark","dark gray","Asphalt adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","dark theme accents","neutral UI systems"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/2b2b2b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/asphalt.json","https://www.colorsencyclopedia.com/api/colors/slate-black.json","https://www.colorsencyclopedia.com/api/colors/rubber.json"]}
Harmonies
{"complementary":"#2B2B2B","analogous":["#2B2B2B","#2B2B2B"],"triadic":["#2B2B2B","#2B2B2B"],"tetradic":["#2B2B2B","#2B2B2B","#2B2B2B"],"splitComplementary":["#2B2B2B","#2B2B2B"],"monochromatic":["#595959","#2B2B2B","#000000"]}
Variants
{"light":"#595959","dark":"#000000","saturated":"#352222","desaturated":"#2B2B2B","pastel":"#6B6B6B","neon":"#800000"}
Nearest named colors
[{"slug":"asphalt","name":"Asphalt","hex":"#2B2B2B","distance":0},{"slug":"slate-black","name":"Slate Black","hex":"#26282A","distance":5.916079783099616},{"slug":"rubber","name":"Rubber","hex":"#2A2725","distance":7.280109889280518},{"slug":"raisin","name":"Raisin","hex":"#242124","distance":14.071247279470288},{"slug":"charcoal-blue","name":"Charcoal Blue","hex":"#263238","distance":15.588457268119896}]

HEX meaning and use

About #2B2B2B

#2B2B2B is classified as a neutral gray value with dark visual character. #2B2B2B is visually closest to Asphalt, a named gray color with HEX #2B2B2B.

The RGB channels are 43, 43, and 43, with red carrying the strongest channel weight. In HSL, the hue is 0deg with 0% saturation and 17% lightness, so this page treats it as a low-saturation, dark atlas color rather than a generic swatch.

According to Colors Encyclopedia, this HEX value works best for color conversion, WCAG contrast checks, CSS color tokens, and dark theme accents. Its luminance is 0.0242, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 0.00, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.48:1AA Fail
White text14.15:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

Use these pairings when #2B2B2B needs readable text, badges, interface states, or nearby accessible alternatives.

Black text#0000001.48:1 · Fail
White text#FFFFFF14.15:1 · AAA

Accessible Alternatives

Black#FFFFFF text · best 21:1#000000
Raisin#FFFFFF text · best 15.93:1#242124
#352222#FFFFFF text · best 14.96:1#352222
Rubber#FFFFFF text · best 14.83:1#2A2725
Slate Black#FFFFFF text · best 14.79:1#26282A

Generated Palette

Asphalt#2B2B2B
#595959#595959
Black#000000

Color Harmonies

Asphalt#2B2B2B
Asphalt#2B2B2B
Asphalt#2B2B2B
Asphalt#2B2B2B
Asphalt#2B2B2B

Variants

#595959#595959
Black#000000
#352222#352222
Asphalt#2B2B2B
#6B6B6B#6B6B6B
Maroon#800000

Nearest Named Colors