#2D2F2B#2D2F2B

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

Color values

HEX#2D2F2B
RGBrgb(45, 47, 43)
HSLhsl(90, 4%, 18%)
HSVhsv(90, 9%, 18%)
CMYKcmyk(4.3%, 0%, 8.5%, 81.6%)
CIE-LABlab(19.08, -1.82, 2.26)
CIE-LCHlch(19.08, 2.90, 128.75°)
OKLaboklab(30.17% -0.0047 0.0059)
OKLCHoklch(30.17% 0.008 128.7)
XYZxyz(2.5347, 2.7653, 2.6853)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F2B #2D2B2F
analogous
#2F2F2B #2D2F2B #2B2F2B
triadic
#2D2F2B #2B2D2F #2F2B2D
tetradic
#2D2F2B #2B2F2F #2D2B2F #2F2B2B
square
#2D2F2B #2B2F2F #2D2B2F #2F2B2B
split-complementary
#2D2F2B #2B2B2F #2F2B2F
monochromatic
#0F100F #0F100F #2D2F2B #4C4F48 #6A6F65

Accessibility & contrast

On white

13.52
#2D2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2F2B
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F2B#FFFFFF#000000##FFFFFF
##2D2F2B1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2f2b;
/* rgb */ color: rgb(45, 47, 43);
/* oklch */ color: oklch(30.2% 0.008 128.7);
Tailwind
colors: {
  custom: {
    50: '#656764',
    500: '#2d2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f2b;
$custom-light: #656764;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f2b",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 90,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30173,
    "c": 0.00759,
    "h": 128.7
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#2D2F2B
secondary
#5B585E
accent
#7AAE94
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2D2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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