#2B2E2B#2B2E2B

#2B2E2B is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.7% C 0.007 H 145.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#2B2E2B
RGBrgb(43, 46, 43)
HSLhsl(120, 3%, 17%)
HSVhsv(120, 7%, 18%)
CMYKcmyk(6.5%, 0%, 6.5%, 82%)
CIE-LABlab(18.55, -2.04, 1.48)
CIE-LCHlch(18.55, 2.52, 144.15°)
OKLaboklab(29.71% -0.0056 0.0039)
OKLCHoklch(29.71% 0.007 145.4)
XYZxyz(2.4092, 2.6420, 2.6681)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E2B #2E2B2E
analogous
#2D2E2B #2B2E2B #2B2E2D
triadic
#2B2E2B #2B2B2E #2E2B2B
tetradic
#2B2E2B #2B2D2E #2E2B2E #2E2D2B
square
#2B2E2B #2B2D2E #2E2B2E #2E2D2B
split-complementary
#2B2E2B #2D2B2E #2E2B2D
monochromatic
#0F100F #0F100F #2B2E2B #494E49 #666D66

Accessibility & contrast

On white

13.74
#2B2E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B2E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E2B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E2B#FFFFFF#000000##FFFFFF
##2B2E2B1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2B
Deuteranopia (green-blind)
#2E2D2B
Tritanopia (blue-blind)
#2B2E2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2e2b;
/* rgb */ color: rgb(43, 46, 43);
/* oklch */ color: oklch(29.7% 0.007 145.4);
Tailwind
colors: {
  custom: {
    50: '#646664',
    500: '#2b2e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e2b;
$custom-light: #646664;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e2b",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 3.371,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29708,
    "c": 0.0068,
    "h": 145.4
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#2B2E2B
secondary
#5D585D
accent
#7BADAD
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #2B2E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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