#2B2A2D#2B2A2D

#2B2A2D is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.7% C 0.006 H 301.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#2B2A2D
RGBrgb(43, 42, 45)
HSLhsl(260, 3%, 17%)
HSVhsv(260, 7%, 18%)
CMYKcmyk(4.4%, 6.7%, 0%, 82.4%)
CIE-LABlab(17.27, 1.18, -1.79)
CIE-LCHlch(17.27, 2.14, 303.34°)
OKLaboklab(28.72% 0.0029 -0.0048)
OKLCHoklch(28.72% 0.006 301.1)
XYZxyz(2.2978, 2.3590, 2.8164)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A2D #2C2D2A
analogous
#2A2B2D #2B2A2D #2D2A2D
triadic
#2B2A2D #2D2B2A #2A2D2B
tetradic
#2B2A2D #2D2A2B #2C2D2A #2A2D2D
square
#2B2A2D #2D2A2B #2C2D2A #2A2D2D
split-complementary
#2B2A2D #2D2D2A #2B2D2A
monochromatic
#0F0F10 #0F0F10 #2B2A2D #49484D #67656C

Accessibility & contrast

On white

14.27
#2B2A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2B2A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A2D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A2D#FFFFFF#000000##FFFFFF
##2B2A2D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A2D
Deuteranopia (green-blind)
#2A2A2D
Tritanopia (blue-blind)
#2B2A2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2b2a2d;
/* rgb */ color: rgb(43, 42, 45);
/* oklch */ color: oklch(28.7% 0.006 301.1);
Tailwind
colors: {
  custom: {
    50: '#646365',
    500: '#2b2a2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a2d;
$custom-light: #646365;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a2d",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 260,
    "s": 3.448,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28723,
    "c": 0.00557,
    "h": 301.1
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#2B2A2D
secondary
#5A5C57
accent
#AD7B9C
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050505
muted
#79797A

Preview Lab

Preview with #2B2A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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