Accessibility
Vs white / black
14.12:1 · 1.49:1
Sources
Codes
HEX
#2e2a2e
RGB
rgb(46, 42, 46)
RGBA
rgba(46, 42, 46, 1)
HSL
hsl(300, 5%, 17%)
HSV
hsv(300, 9%, 18%)
LAB
lab(17.62% 2.75 -1.94)
LCH
lch(17.62% 3.37 324.8)
OKLAB
oklab(0.2908 0.0076 -0.0051)
OKLCH
oklch(0.2908 0.0092 326.14)
XYZ
xyz(2.45, 2.43, 2.93)
CMYK
cmyk(0%, 9%, 0%, 82%)
CSS
color: #2e2a2e;
CSS variable
--color-2e2a2e: #2e2a2e;
SCSS
$color-2e2a2e: #2e2a2e;
Tailwind
slate-800
Export
:root {
--#2e2a2e-1: #2e2a2e;
}Palette
Full scale from light tints through the base color into deep shades
Palette
Mixed toward white — soft backgrounds and highlights
Palette
Mixed toward black — depth, text, and emphasis
Palette
Mixed toward neutral grey — muted UI surfaces
Harmony
Opposite on the color wheel for contrast
Harmony
Neighbors that sit comfortably together
Harmony
Evenly spaced triad for vibrant sets
Harmony
Base plus two accents beside the complement
Harmony
Same hue, varied lightness and saturation
Using this color
#2E2A2E (#2e2a2e) sits in the grey family at about 300° hue, 5% saturation, and 17% lightness. Contrast is 14.12:1 on white and 1.49:1 on black, so white labels read more clearly on the swatch itself. Closest Tailwind token in our matcher: slate-800.
Sensible jobs for this swatch
On a black or near-black UI, #2e2a2e is 1.49:1. Prefer it as a fill, border, or large heading rather than 16px copy.
Family context: Neutrality, balance, and modernity. Essential for UI chrome, typography, and systems. Common uses still include buttons, charts, and accents in the Grey range — always verify the pair for this exact hex in the contrast checker.
Related
Nearby colors from the library by perceptual distance