#2F2E2B#2F2E2B

#2F2E2B is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.1% C 0.005 H 91.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#2F2E2B
RGBrgb(47, 46, 43)
HSLhsl(45, 4%, 18%)
HSVhsv(45, 9%, 18%)
CMYKcmyk(0%, 2.1%, 8.5%, 81.6%)
CIE-LABlab(18.94, -0.24, 2.09)
CIE-LCHlch(18.94, 2.10, 96.41°)
OKLaboklab(30.11% -0.0001 0.0055)
OKLCHoklch(30.11% 0.005 91.6)
XYZxyz(2.5853, 2.7328, 2.6763)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E2B #2B2C2F
analogous
#2F2C2B #2F2E2B #2E2F2B
triadic
#2F2E2B #2B2F2E #2E2B2F
tetradic
#2F2E2B #2B2F2C #2B2C2F #2F2B2E
square
#2F2E2B #2B2F2C #2B2C2F #2F2B2E
split-complementary
#2F2E2B #2B2E2F #2C2B2F
monochromatic
#10100F #10100F #2F2E2B #4F4D48 #6F6D65

Accessibility & contrast

On white

13.58
#2F2E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E2B
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E2B#FFFFFF#000000##FFFFFF
##2F2E2B1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2e2b;
/* rgb */ color: rgb(47, 46, 43);
/* oklch */ color: oklch(30.1% 0.005 91.6);
Tailwind
colors: {
  custom: {
    50: '#676664',
    500: '#2f2e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e2b;
$custom-light: #676664;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e2b",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 45,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30113,
    "c": 0.00549,
    "h": 91.6
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#2F2E2B
secondary
#58595E
accent
#87AE7A
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F2E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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