#2F2E2E#2F2E2E

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

Color values

HEX#2F2E2E
RGBrgb(47, 46, 46)
HSLhsl(0, 1%, 18%)
HSVhsv(0, 2%, 18%)
CMYKcmyk(0%, 2.1%, 2.1%, 81.6%)
CIE-LABlab(19.04, 0.45, 0.16)
CIE-LCHlch(19.04, 0.47, 19.50°)
OKLaboklab(30.22% 0.0014 0.0004)
OKLCHoklch(30.22% 0.001 17.4)
XYZxyz(2.6424, 2.7556, 2.9769)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E2E #2E2F2F
analogous
#2F2E2E #2F2E2E #2F2E2E
triadic
#2F2E2E #2E2F2E #2E2E2F
tetradic
#2F2E2E #2E2F2E #2E2F2F #2E2E2F
square
#2F2E2E #2E2F2E #2E2F2F #2E2E2F
split-complementary
#2F2E2E #2E2F2E #2E2E2F
monochromatic
#0F0F0F #101010 #2F2E2E #4E4C4C #6D6B6B

Accessibility & contrast

On white

13.54
#2F2E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E2E
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E2E#FFFFFF#000000##FFFFFF
##2F2E2E1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2e2e;
/* rgb */ color: rgb(47, 46, 46);
/* oklch */ color: oklch(30.2% 0.001 17.4);
Tailwind
colors: {
  custom: {
    50: '#676666',
    500: '#2f2e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e2e;
$custom-light: #676666;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e2e",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 0,
    "s": 1.075,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30221,
    "c": 0.00144,
    "h": 17.4
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#2F2E2E
secondary
#5C5D5D
accent
#AAAA7D
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F2E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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