#2B2B2F#2B2B2F

#2B2B2F is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.1% C 0.007 H 285.9°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#2B2B2F
RGBrgb(43, 43, 47)
HSLhsl(240, 4%, 18%)
HSVhsv(240, 9%, 18%)
CMYKcmyk(8.5%, 8.5%, 0%, 81.6%)
CIE-LABlab(17.68, 0.99, -2.59)
CIE-LCHlch(17.68, 2.77, 290.86°)
OKLaboklab(29.07% 0.002 -0.0069)
OKLCHoklch(29.07% 0.007 285.9)
XYZxyz(2.3731, 2.4466, 3.0360)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B2F #2F2F2B
analogous
#2B2D2F #2B2B2F #2D2B2F
triadic
#2B2B2F #2F2B2B #2B2F2B
tetradic
#2B2B2F #2F2B2D #2F2F2B #2B2F2D
square
#2B2B2F #2F2B2D #2F2F2B #2B2F2D
split-complementary
#2B2B2F #2F2D2B #2D2F2B
monochromatic
#0F0F10 #0F0F10 #2B2B2F #48484F #65656F

Accessibility & contrast

On white

14.10
#2B2B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2B2F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B2F#FFFFFF#000000##FFFFFF
##2B2B2F1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2F
Deuteranopia (green-blind)
#2A2B2F
Tritanopia (blue-blind)
#2A2C2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b2b2f;
/* rgb */ color: rgb(43, 43, 47);
/* oklch */ color: oklch(29.1% 0.007 285.9);
Tailwind
colors: {
  custom: {
    50: '#646467',
    500: '#2b2b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b2f;
$custom-light: #646467;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b2f",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29066,
    "c": 0.00721,
    "h": 285.9
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#2B2B2F
secondary
#5E5E58
accent
#AE7AAE
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2B2B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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