#2B2D2A#2B2D2A

#2B2D2A is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.4% C 0.006 H 134.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#2B2D2A
RGBrgb(43, 45, 42)
HSLhsl(100, 3%, 17%)
HSVhsv(100, 7%, 18%)
CMYKcmyk(4.4%, 0%, 6.7%, 82.4%)
CIE-LABlab(18.18, -1.60, 1.63)
CIE-LCHlch(18.18, 2.28, 134.44°)
OKLaboklab(29.4% -0.0043 0.0043)
OKLCHoklch(29.4% 0.006 134.9)
XYZxyz(2.3525, 2.5575, 2.5598)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D2A #2C2A2D
analogous
#2D2D2A #2B2D2A #2A2D2B
triadic
#2B2D2A #2A2B2D #2D2A2B
tetradic
#2B2D2A #2A2D2D #2C2A2D #2D2B2A
square
#2B2D2A #2A2D2D #2C2A2D #2D2B2A
split-complementary
#2B2D2A #2B2A2D #2D2A2D
monochromatic
#0F100F #0F100F #2B2D2A #494D48 #676C65

Accessibility & contrast

On white

13.89
#2B2D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2B2D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D2A
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D2A#FFFFFF#000000##FFFFFF
##2B2D2A1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C2A
Deuteranopia (green-blind)
#2D2C2A
Tritanopia (blue-blind)
#2B2D2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2d2a;
/* rgb */ color: rgb(43, 45, 42);
/* oklch */ color: oklch(29.4% 0.006 134.9);
Tailwind
colors: {
  custom: {
    50: '#646563',
    500: '#2b2d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d2a;
$custom-light: #646563;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d2a",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 100,
    "s": 3.448,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29404,
    "c": 0.00605,
    "h": 134.9
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#2B2D2A
secondary
#5A575C
accent
#7BAD9C
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050505
muted
#797A79

Preview Lab

Preview with #2B2D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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