#2B2D2D#2B2D2D

#2B2D2D is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.5% C 0.003 H 196.9°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#2B2D2D
RGBrgb(43, 45, 45)
HSLhsl(180, 2%, 17%)
HSVhsv(180, 4%, 18%)
CMYKcmyk(4.4%, 0%, 0%, 82.4%)
CIE-LABlab(18.28, -0.89, -0.31)
CIE-LCHlch(18.28, 0.94, 199.22°)
OKLaboklab(29.52% -0.0027 -0.0008)
OKLCHoklch(29.52% 0.003 196.9)
XYZxyz(2.4082, 2.5798, 2.8532)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D2D #2D2B2B
analogous
#2B2D2C #2B2D2D #2B2C2D
triadic
#2B2D2D #2D2B2D #2D2D2B
tetradic
#2B2D2D #2C2B2D #2D2B2B #2C2D2B
square
#2B2D2D #2C2B2D #2D2B2B #2C2D2B
split-complementary
#2B2D2D #2D2B2C #2D2C2B
monochromatic
#0F1010 #0F1010 #2B2D2D #494C4C #676C6C

Accessibility & contrast

On white

13.85
#2B2D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2B2D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D2D
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D2D#FFFFFF#000000##FFFFFF
##2B2D2D1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2d2d;
/* rgb */ color: rgb(43, 45, 45);
/* oklch */ color: oklch(29.5% 0.003 196.9);
Tailwind
colors: {
  custom: {
    50: '#646565',
    500: '#2b2d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d2d;
$custom-light: #646565;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d2d",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 180,
    "s": 2.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29515,
    "c": 0.00285,
    "h": 196.9
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#2B2D2D
secondary
#5B5858
accent
#7C7CAC
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050505
muted
#797A7A

Preview Lab

Preview with #2B2D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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