#2F2D2E#2F2D2E

#2F2D2E is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.0% C 0.003 H 345.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2F2D2E
RGBrgb(47, 45, 46)
HSLhsl(330, 2%, 18%)
HSVhsv(330, 4%, 18%)
CMYKcmyk(0%, 4.3%, 2.1%, 81.6%)
CIE-LABlab(18.71, 1.13, -0.32)
CIE-LCHlch(18.71, 1.17, 343.94°)
OKLaboklab(29.96% 0.0033 -0.0008)
OKLCHoklch(29.96% 0.003 345.3)
XYZxyz(2.6037, 2.6784, 2.9640)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D2E #2D2F2E
analogous
#2F2D2F #2F2D2E #2F2D2D
triadic
#2F2D2E #2E2F2D #2D2E2F
tetradic
#2F2D2E #2F2F2D #2D2F2E #2D2D2F
square
#2F2D2E #2F2F2D #2D2F2E #2D2D2F
split-complementary
#2F2D2E #2D2F2D #2D2F2F
monochromatic
#100F0F #100F0F #2F2D2E #4E4B4D #6E696B

Accessibility & contrast

On white

13.68
#2F2D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2F2D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D2E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D2E#FFFFFF#000000##FFFFFF
##2F2D2E1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2d2e;
/* rgb */ color: rgb(47, 45, 46);
/* oklch */ color: oklch(30.0% 0.003 345.3);
Tailwind
colors: {
  custom: {
    50: '#676566',
    500: '#2f2d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d2e;
$custom-light: #676566;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d2e",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 330,
    "s": 2.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29962,
    "c": 0.00336,
    "h": 345.3
  },
  "luminance": 0.02678
}

Semantic roles & 50–950 ramp

primary
#2F2D2E
secondary
#5B5D5C
accent
#AB947C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060506
muted
#7A7A7A

Preview Lab

Preview with #2F2D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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