#2B2F2A#2B2F2A

#2B2F2A is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.9% C 0.010 H 139.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#2B2F2A
RGBrgb(43, 47, 42)
HSLhsl(108, 6%, 17%)
HSVhsv(108, 11%, 18%)
CMYKcmyk(8.5%, 0%, 10.6%, 81.6%)
CIE-LABlab(18.86, -2.95, 2.61)
CIE-LCHlch(18.86, 3.94, 138.42°)
OKLaboklab(29.94% -0.008 0.0068)
OKLCHoklch(29.94% 0.01 139.4)
XYZxyz(2.4306, 2.7138, 2.5858)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F2A #2E2A2F
analogous
#2E2F2A #2B2F2A #2A2F2C
triadic
#2B2F2A #2A2B2F #2F2A2B
tetradic
#2B2F2A #2A2E2F #2E2A2F #2F2C2A
square
#2B2F2A #2A2E2F #2E2A2F #2F2C2A
split-complementary
#2B2F2A #2C2A2F #2F2A2E
monochromatic
#0F100E #0F100E #2B2F2A #494F47 #667064

Accessibility & contrast

On white

13.61
#2B2F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2B2F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F2A
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F2A#FFFFFF#000000##FFFFFF
##2B2F2A1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2A
Deuteranopia (green-blind)
#2F2E2A
Tritanopia (blue-blind)
#2B2F2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b2f2a;
/* rgb */ color: rgb(43, 47, 42);
/* oklch */ color: oklch(29.9% 0.010 139.4);
Tailwind
colors: {
  custom: {
    50: '#646763',
    500: '#2b2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f2a;
$custom-light: #646763;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f2a",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 108,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29943,
    "c": 0.01049,
    "h": 139.4
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#2B2F2A
secondary
#5D575E
accent
#79AFA4
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #2B2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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