#2B282C#2B282C

#2B282C is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.2% C 0.008 H 317.7°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#2B282C
RGBrgb(43, 40, 44)
HSLhsl(285, 5%, 16%)
HSVhsv(285, 9%, 17%)
CMYKcmyk(2.3%, 9.1%, 0%, 82.7%)
CIE-LABlab(16.57, 2.32, -2.12)
CIE-LCHlch(16.57, 3.15, 317.61°)
OKLaboklab(28.16% 0.0062 -0.0056)
OKLCHoklch(28.16% 0.008 317.7)
XYZxyz(2.2096, 2.2130, 2.6931)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B282C #292C28
analogous
#29282C #2B282C #2C282B
triadic
#2B282C #2C2B28 #282C2B
tetradic
#2B282C #2C2928 #292C28 #282B2C
square
#2B282C #2C2928 #292C28 #282B2C
split-complementary
#2B282C #2B2C28 #282C29
monochromatic
#100F10 #100F10 #2B282C #4A454C #6A626C

Accessibility & contrast

On white

14.56
#2B282C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B282C
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B282C#FFFFFF#000000##FFFFFF
##2B282C1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b282c;
/* rgb */ color: rgb(43, 40, 44);
/* oklch */ color: oklch(28.2% 0.008 317.7);
Tailwind
colors: {
  custom: {
    50: '#646165',
    500: '#2b282c',
    950: '#000000',
  },
}
SCSS
$custom: #2b282c;
$custom-light: #646165;
$custom-dark: #000000;
JSON
{
  "hex": "#2b282c",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 44
  },
  "hsl": {
    "h": 285,
    "s": 4.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28163,
    "c": 0.00838,
    "h": 317.7
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#2B282C
secondary
#565B55
accent
#AE7A87
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050505
muted
#79797A

Preview Lab

Preview with #2B282C

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

Preview Lab → · Contrast checker → · Palette generator →

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