#2D2F2C#2D2F2C

#2D2F2C is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.2% C 0.006 H 134.9°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#2D2F2C
RGBrgb(45, 47, 44)
HSLhsl(100, 3%, 18%)
HSVhsv(100, 6%, 18%)
CMYKcmyk(4.3%, 0%, 6.4%, 81.6%)
CIE-LABlab(19.11, -1.59, 1.62)
CIE-LCHlch(19.11, 2.27, 134.48°)
OKLaboklab(30.21% -0.0042 0.0043)
OKLCHoklch(30.21% 0.006 134.9)
XYZxyz(2.5532, 2.7728, 2.7831)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F2C #2E2C2F
analogous
#2E2F2C #2D2F2C #2C2F2C
triadic
#2D2F2C #2C2D2F #2F2C2D
tetradic
#2D2F2C #2C2E2F #2E2C2F #2F2C2C
square
#2D2F2C #2C2E2F #2E2C2F #2F2C2C
split-complementary
#2D2F2C #2C2C2F #2F2C2E
monochromatic
#0F100F #0F100F #2D2F2C #4B4F4A #6A6E67

Accessibility & contrast

On white

13.51
#2D2F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D2F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F2C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F2C#FFFFFF#000000##FFFFFF
##2D2F2C1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2C
Deuteranopia (green-blind)
#2F2E2C
Tritanopia (blue-blind)
#2D2F2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2f2c;
/* rgb */ color: rgb(45, 47, 44);
/* oklch */ color: oklch(30.2% 0.006 134.9);
Tailwind
colors: {
  custom: {
    50: '#656765',
    500: '#2d2f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f2c;
$custom-light: #656765;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f2c",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 100,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30209,
    "c": 0.006,
    "h": 134.9
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#2D2F2C
secondary
#5C595E
accent
#7BAC9C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050605
muted
#7A7A7A

Preview Lab

Preview with #2D2F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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