#2F2A2E#2F2A2E

#2F2A2E is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.2% C 0.010 H 332.5°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#2F2A2E
RGBrgb(47, 42, 46)
HSLhsl(312, 6%, 17%)
HSVhsv(312, 11%, 18%)
CMYKcmyk(0%, 10.6%, 2.1%, 81.6%)
CIE-LABlab(17.73, 3.19, -1.77)
CIE-LCHlch(17.73, 3.65, 331.07°)
OKLaboklab(29.2% 0.009 -0.0047)
OKLCHoklch(29.2% 0.01 332.5)
XYZxyz(2.4933, 2.4576, 2.9272)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A2E #2A2F2B
analogous
#2E2A2F #2F2A2E #2F2A2C
triadic
#2F2A2E #2E2F2A #2A2E2F
tetradic
#2F2A2E #2F2E2A #2A2F2B #2A2C2F
square
#2F2A2E #2F2E2A #2A2F2B #2A2C2F
split-complementary
#2F2A2E #2C2F2A #2A2F2E
monochromatic
#100E10 #100E10 #2F2A2E #4F474E #70646D

Accessibility & contrast

On white

14.08
#2F2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2F2A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A2E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A2E#FFFFFF#000000##FFFFFF
##2F2A2E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#2B2C2E
Tritanopia (blue-blind)
#302A2B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2a2e;
/* rgb */ color: rgb(47, 42, 46);
/* oklch */ color: oklch(29.2% 0.010 332.5);
Tailwind
colors: {
  custom: {
    50: '#676366',
    500: '#2f2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a2e;
$custom-light: #676366;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a2e",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 312,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29195,
    "c": 0.01011,
    "h": 332.5
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#2F2A2E
secondary
#575E58
accent
#AF8479
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2F2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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