#2B2B2E#2B2B2E

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

Color values

HEX#2B2B2E
RGBrgb(43, 43, 46)
HSLhsl(240, 3%, 17%)
HSVhsv(240, 7%, 18%)
CMYKcmyk(6.5%, 6.5%, 0%, 82%)
CIE-LABlab(17.64, 0.73, -1.94)
CIE-LCHlch(17.64, 2.08, 290.71°)
OKLaboklab(29.03% 0.0015 -0.0052)
OKLCHoklch(29.03% 0.005 286)
XYZxyz(2.3532, 2.4386, 2.9310)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B2E #2E2E2B
analogous
#2B2D2E #2B2B2E #2D2B2E
triadic
#2B2B2E #2E2B2B #2B2E2B
tetradic
#2B2B2E #2E2B2D #2E2E2B #2B2E2D
square
#2B2B2E #2E2B2D #2E2E2B #2B2E2D
split-complementary
#2B2B2E #2E2D2B #2D2E2B
monochromatic
#0F0F10 #0F0F10 #2B2B2E #49494E #66666D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2B2E#FFFFFF#000000##FFFFFF
##2B2B2E1.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)
#2A2B2E
Deuteranopia (green-blind)
#2A2B2E
Tritanopia (blue-blind)
#2A2B2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b2b2e;
/* rgb */ color: rgb(43, 43, 46);
/* oklch */ color: oklch(29.0% 0.005 286.0);
Tailwind
colors: {
  custom: {
    50: '#646466',
    500: '#2b2b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b2e;
$custom-light: #646466;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b2e",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 3.371,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29026,
    "c": 0.0054,
    "h": 286
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#2B2B2E
secondary
#5D5D58
accent
#AD7BAD
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2B2B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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