#2D2F2E#2D2F2E

#2D2F2E is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.3% C 0.003 H 164.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#2D2F2E
RGBrgb(45, 47, 46)
HSLhsl(150, 2%, 18%)
HSVhsv(150, 4%, 18%)
CMYKcmyk(4.3%, 0%, 2.1%, 81.6%)
CIE-LABlab(19.17, -1.12, 0.33)
CIE-LCHlch(19.17, 1.17, 163.37°)
OKLaboklab(30.28% -0.0032 0.0009)
OKLCHoklch(30.28% 0.003 164.8)
XYZxyz(2.5918, 2.7882, 2.9859)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F2E #2F2D2E
analogous
#2D2F2D #2D2F2E #2D2F2F
triadic
#2D2F2E #2E2D2F #2F2E2D
tetradic
#2D2F2E #2D2D2F #2F2D2E #2F2F2D
square
#2D2F2E #2D2D2F #2F2D2E #2F2F2D
split-complementary
#2D2F2E #2F2D2F #2F2D2D
monochromatic
#0F100F #0F100F #2D2F2E #4B4E4D #696E6B

Accessibility & contrast

On white

13.48
#2D2F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2D2F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F2E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F2E#FFFFFF#000000##FFFFFF
##2D2F2E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2E
Deuteranopia (green-blind)
#2F2E2E
Tritanopia (blue-blind)
#2D2F2F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d2f2e;
/* rgb */ color: rgb(45, 47, 46);
/* oklch */ color: oklch(30.3% 0.003 164.8);
Tailwind
colors: {
  custom: {
    50: '#656766',
    500: '#2d2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f2e;
$custom-light: #656766;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f2e",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 150,
    "s": 2.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.00333,
    "h": 164.8
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#2D2F2E
secondary
#5D5B5C
accent
#7C94AB
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2D2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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