#2B2A2F#2B2A2F

#2B2A2F is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.8% C 0.009 H 295.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#2B2A2F
RGBrgb(43, 42, 47)
HSLhsl(252, 6%, 17%)
HSVhsv(252, 11%, 18%)
CMYKcmyk(8.5%, 10.6%, 0%, 81.6%)
CIE-LABlab(17.34, 1.68, -3.08)
CIE-LCHlch(17.34, 3.51, 298.59°)
OKLaboklab(28.81% 0.0039 -0.0083)
OKLCHoklch(28.81% 0.009 295)
XYZxyz(2.3372, 2.3748, 3.0240)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A2F #2E2F2A
analogous
#2A2C2F #2B2A2F #2E2A2F
triadic
#2B2A2F #2F2B2A #2A2F2B
tetradic
#2B2A2F #2F2A2C #2E2F2A #2A2F2E
square
#2B2A2F #2F2A2C #2E2F2A #2A2F2E
split-complementary
#2B2A2F #2F2E2A #2C2F2A
monochromatic
#0F0E10 #0F0E10 #2B2A2F #49474F #666470

Accessibility & contrast

On white

14.24
#2B2A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2B2A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A2F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A2F#FFFFFF#000000##FFFFFF
##2B2A2F1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B2F
Deuteranopia (green-blind)
#292B2F
Tritanopia (blue-blind)
#2A2B2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b2a2f;
/* rgb */ color: rgb(43, 42, 47);
/* oklch */ color: oklch(28.8% 0.009 295.0);
Tailwind
colors: {
  custom: {
    50: '#646367',
    500: '#2b2a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a2f;
$custom-light: #646367;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a2f",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 252,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28806,
    "c": 0.00911,
    "h": 295
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#2B2A2F
secondary
#5D5E57
accent
#AF79A4
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2B2A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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