#2B282B#2B282B

#2B282B is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.1% C 0.007 H 325.8°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#2B282B
RGBrgb(43, 40, 43)
HSLhsl(300, 4%, 16%)
HSVhsv(300, 7%, 17%)
CMYKcmyk(0%, 7%, 0%, 83.1%)
CIE-LABlab(16.53, 2.08, -1.47)
CIE-LCHlch(16.53, 2.55, 324.75°)
OKLaboklab(28.12% 0.0057 -0.0039)
OKLCHoklch(28.12% 0.007 325.8)
XYZxyz(2.1910, 2.2056, 2.5953)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B282B #282B28
analogous
#2A282B #2B282B #2B282A
triadic
#2B282B #2B2B28 #282B2B
tetradic
#2B282B #2B2A28 #282B28 #282A2B
square
#2B282B #2B2A28 #282B28 #282A2B
split-complementary
#2B282B #2A2B28 #282B2A
monochromatic
#100F10 #100F10 #2B282B #4B454B #6A636A

Accessibility & contrast

On white

14.57
#2B282B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2B282B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B282B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B282B#FFFFFF#000000##FFFFFF
##2B282B1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#28292B
Tritanopia (blue-blind)
#2B2829
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b282b;
/* rgb */ color: rgb(43, 40, 43);
/* oklch */ color: oklch(28.1% 0.007 325.8);
Tailwind
colors: {
  custom: {
    50: '#646164',
    500: '#2b282b',
    950: '#000000',
  },
}
SCSS
$custom: #2b282b;
$custom-light: #646164;
$custom-dark: #000000;
JSON
{
  "hex": "#2b282b",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 3.614,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28123,
    "c": 0.00692,
    "h": 325.8
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#2B282B
secondary
#555A55
accent
#AD7B7B
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050505
muted
#797979

Preview Lab

Preview with #2B282B

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

Preview Lab → · Contrast checker → · Palette generator →

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