#2E2A2F#2E2A2F

#2E2A2F is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.1% C 0.011 H 319.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#2E2A2F
RGBrgb(46, 42, 47)
HSLhsl(288, 6%, 17%)
HSVhsv(288, 11%, 18%)
CMYKcmyk(2.1%, 10.6%, 0%, 81.6%)
CIE-LABlab(17.65, 2.99, -2.58)
CIE-LCHlch(17.65, 3.95, 319.20°)
OKLaboklab(29.13% 0.008 -0.0069)
OKLCHoklch(29.13% 0.011 319.4)
XYZxyz(2.4677, 2.4420, 3.0301)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A2F #2B2F2A
analogous
#2C2A2F #2E2A2F #2F2A2E
triadic
#2E2A2F #2F2E2A #2A2F2E
tetradic
#2E2A2F #2F2C2A #2B2F2A #2A2E2F
square
#2E2A2F #2F2C2A #2B2F2A #2A2E2F
split-complementary
#2E2A2F #2E2F2A #2A2F2C
monochromatic
#100E10 #100E10 #2E2A2F #4E474F #6D6470

Accessibility & contrast

On white

14.11
#2E2A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2E2A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A2F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A2F#FFFFFF#000000##FFFFFF
##2E2A2F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2F
Deuteranopia (green-blind)
#2A2B2F
Tritanopia (blue-blind)
#2E2A2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2a2f;
/* rgb */ color: rgb(46, 42, 47);
/* oklch */ color: oklch(29.1% 0.011 319.4);
Tailwind
colors: {
  custom: {
    50: '#666367',
    500: '#2e2a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a2f;
$custom-light: #666367;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a2f",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 288,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29125,
    "c": 0.01058,
    "h": 319.4
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#2E2A2F
secondary
#585E57
accent
#AF7984
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2E2A2F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E2A2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva