#2D2829#2D2829

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

Color values

HEX#2D2829
RGBrgb(45, 40, 41)
HSLhsl(348, 6%, 17%)
HSVhsv(348, 11%, 18%)
CMYKcmyk(0%, 11.1%, 8.9%, 82.4%)
CIE-LABlab(16.68, 2.52, 0.18)
CIE-LCHlch(16.68, 2.53, 4.10°)
OKLaboklab(28.27% 0.0076 0.0005)
OKLCHoklch(28.27% 0.008 3.9)
XYZxyz(2.2412, 2.2356, 2.4108)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2829 #282D2C
analogous
#2D282C #2D2829 #2D2A28
triadic
#2D2829 #292D28 #28292D
tetradic
#2D2829 #2C2D28 #282D2C #2A282D
square
#2D2829 #2C2D28 #282D2C #2A282D
split-complementary
#2D2829 #282D2A #282C2D
monochromatic
#100E0F #100E0F #2D2829 #4D4547 #6E6264

Accessibility & contrast

On white

14.51
#2D2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2829
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2829#FFFFFF#000000##FFFFFF
##2D28291.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292929
Deuteranopia (green-blind)
#2A2A29
Tritanopia (blue-blind)
#2E2828
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d2829;
/* rgb */ color: rgb(45, 40, 41);
/* oklch */ color: oklch(28.3% 0.008 3.9);
Tailwind
colors: {
  custom: {
    50: '#656162',
    500: '#2d2829',
    950: '#000000',
  },
}
SCSS
$custom: #2d2829;
$custom-light: #656162;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2829",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 348,
    "s": 5.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28266,
    "c": 0.00759,
    "h": 3.9
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#2D2829
secondary
#555C5B
accent
#AFA479
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050505
muted
#7A7979

Preview Lab

Preview with #2D2829

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

Preview Lab → · Contrast checker → · Palette generator →

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