#2F2A2B#2F2A2B

#2F2A2B is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.1% C 0.008 H 3.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#2F2A2B
RGBrgb(47, 42, 43)
HSLhsl(348, 6%, 17%)
HSVhsv(348, 11%, 18%)
CMYKcmyk(0%, 10.6%, 8.5%, 81.6%)
CIE-LABlab(17.62, 2.51, 0.18)
CIE-LCHlch(17.62, 2.51, 4.07°)
OKLaboklab(29.08% 0.0075 0.0005)
OKLCHoklch(29.08% 0.008 3.9)
XYZxyz(2.4363, 2.4347, 2.6266)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A2B #2A2F2E
analogous
#2F2A2E #2F2A2B #2F2C2A
triadic
#2F2A2B #2B2F2A #2A2B2F
tetradic
#2F2A2B #2E2F2A #2A2F2E #2C2A2F
square
#2F2A2B #2E2F2A #2A2F2E #2C2A2F
split-complementary
#2F2A2B #2A2F2C #2A2E2F
monochromatic
#100E0F #100E0F #2F2A2B #4F4749 #706466

Accessibility & contrast

On white

14.12
#2F2A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2A2B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A2B#FFFFFF#000000##FFFFFF
##2F2A2B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2B
Deuteranopia (green-blind)
#2C2C2B
Tritanopia (blue-blind)
#302A2A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2a2b;
/* rgb */ color: rgb(47, 42, 43);
/* oklch */ color: oklch(29.1% 0.008 3.9);
Tailwind
colors: {
  custom: {
    50: '#676364',
    500: '#2f2a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a2b;
$custom-light: #676364;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a2b",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 348,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29078,
    "c": 0.00753,
    "h": 3.9
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#2F2A2B
secondary
#575E5D
accent
#AFA479
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #2F2A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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