#2D2E28#2D2E28

#2D2E28 is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.8% C 0.011 H 114.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#2D2E28
RGBrgb(45, 46, 40)
HSLhsl(70, 7%, 17%)
HSVhsv(70, 13%, 18%)
CMYKcmyk(2.2%, 0%, 13%, 82%)
CIE-LABlab(18.65, -1.81, 3.72)
CIE-LCHlch(18.65, 4.14, 115.95°)
OKLaboklab(29.81% -0.0045 0.0097)
OKLCHoklch(29.81% 0.011 114.8)
XYZxyz(2.4421, 2.6651, 2.3928)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E28 #29282E
analogous
#2E2C28 #2D2E28 #2A2E28
triadic
#2D2E28 #282D2E #2E282D
tetradic
#2D2E28 #282E2C #29282E #2E282A
square
#2D2E28 #282E2C #29282E #2E282A
split-complementary
#2D2E28 #282A2E #2C282E
monochromatic
#10100E #10100E #2D2E28 #4D4F44 #6D6F61

Accessibility & contrast

On white

13.70
#2D2E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2D2E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E28
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E28#FFFFFF#000000##FFFFFF
##2D2E281.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D28
Deuteranopia (green-blind)
#2F2D28
Tritanopia (blue-blind)
#2E2D2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2e28;
/* rgb */ color: rgb(45, 46, 40);
/* oklch */ color: oklch(29.8% 0.011 114.8);
Tailwind
colors: {
  custom: {
    50: '#656661',
    500: '#2d2e28',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e28;
$custom-light: #656661;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e28",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 70,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29805,
    "c": 0.01065,
    "h": 114.8
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#2D2E28
secondary
#56555D
accent
#78B081
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2D2E28

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

Preview Lab → · Contrast checker → · Palette generator →

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