#2B282E#2B282E

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

Color values

HEX#2B282E
RGBrgb(43, 40, 46)
HSLhsl(270, 7%, 17%)
HSVhsv(270, 13%, 18%)
CMYKcmyk(6.5%, 13%, 0%, 82%)
CIE-LABlab(16.64, 2.82, -3.42)
CIE-LCHlch(16.64, 4.43, 309.55°)
OKLaboklab(28.25% 0.0072 -0.0092)
OKLCHoklch(28.25% 0.012 308)
XYZxyz(2.2481, 2.2284, 2.8959)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B282E #2B2E28
analogous
#28282E #2B282E #2E282E
triadic
#2B282E #2E2B28 #282E2B
tetradic
#2B282E #2E2828 #2B2E28 #282E2E
square
#2B282E #2E2828 #2B2E28 #282E2E
split-complementary
#2B282E #2E2E28 #282E28
monochromatic
#0F0E10 #0F0E10 #2B282E #4A444F #68616F

Accessibility & contrast

On white

14.53
#2B282E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2B282E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B282E
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B282E#FFFFFF#000000##FFFFFF
##2B282E1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292E
Deuteranopia (green-blind)
#28292E
Tritanopia (blue-blind)
#2B292A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b282e;
/* rgb */ color: rgb(43, 40, 46);
/* oklch */ color: oklch(28.2% 0.012 308.0);
Tailwind
colors: {
  custom: {
    50: '#646166',
    500: '#2b282e',
    950: '#000000',
  },
}
SCSS
$custom: #2b282e;
$custom-light: #646166;
$custom-dark: #000000;
JSON
{
  "hex": "#2b282e",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 46
  },
  "hsl": {
    "h": 270,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28247,
    "c": 0.01162,
    "h": 308
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#2B282E
secondary
#595D55
accent
#B07894
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2B282E

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

Preview Lab → · Contrast checker → · Palette generator →

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