#2F2F2E#2F2F2E

#2F2F2E is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.5% C 0.002 H 106.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#2F2F2E
RGBrgb(47, 47, 46)
HSLhsl(60, 1%, 18%)
HSVhsv(60, 2%, 18%)
CMYKcmyk(0%, 0%, 2.1%, 81.6%)
CIE-LABlab(19.37, -0.23, 0.64)
CIE-LCHlch(19.37, 0.68, 109.93°)
OKLaboklab(30.48% -0.0005 0.0017)
OKLCHoklch(30.48% 0.002 106.5)
XYZxyz(2.6819, 2.8346, 2.9901)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F2E #2E2E2F
analogous
#2F2E2E #2F2F2E #2E2F2E
triadic
#2F2F2E #2E2F2F #2F2E2F
tetradic
#2F2F2E #2E2F2E #2E2E2F #2F2E2E
square
#2F2F2E #2E2F2E #2E2E2F #2F2E2E
split-complementary
#2F2F2E #2E2E2F #2E2E2F
monochromatic
#0F0F0F #101010 #2F2F2E #4E4E4C #6D6D6B

Accessibility & contrast

On white

13.40
#2F2F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2F2F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F2E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F2E#FFFFFF#000000##FFFFFF
##2F2F2E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2f2e;
/* rgb */ color: rgb(47, 47, 46);
/* oklch */ color: oklch(30.5% 0.002 106.5);
Tailwind
colors: {
  custom: {
    50: '#676766',
    500: '#2f2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f2e;
$custom-light: #676766;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f2e",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 1.075,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30482,
    "c": 0.00176,
    "h": 106.5
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#2F2F2E
secondary
#5C5C5D
accent
#7DAA7D
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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