#2F2B2B#2F2B2B

#2F2B2B is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.006 H 17.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#2F2B2B
RGBrgb(47, 43, 43)
HSLhsl(0, 4%, 18%)
HSVhsv(0, 9%, 18%)
CMYKcmyk(0%, 8.5%, 8.5%, 81.6%)
CIE-LABlab(17.95, 1.82, 0.65)
CIE-LCHlch(17.95, 1.93, 19.81°)
OKLaboklab(29.33% 0.0056 0.0018)
OKLCHoklch(29.33% 0.006 17.5)
XYZxyz(2.4722, 2.5065, 2.6386)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B2B #2B2F2F
analogous
#2F2B2D #2F2B2B #2F2D2B
triadic
#2F2B2B #2B2F2B #2B2B2F
tetradic
#2F2B2B #2D2F2B #2B2F2F #2D2B2F
square
#2F2B2B #2D2F2B #2B2F2F #2D2B2F
split-complementary
#2F2B2B #2B2F2D #2B2D2F
monochromatic
#100F0F #100F0F #2F2B2B #4F4848 #6F6565

Accessibility & contrast

On white

13.99
#2F2B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B2B
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B2B#FFFFFF#000000##FFFFFF
##2F2B2B1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B2B
Deuteranopia (green-blind)
#2D2C2B
Tritanopia (blue-blind)
#302B2B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2b2b;
/* rgb */ color: rgb(47, 43, 43);
/* oklch */ color: oklch(29.3% 0.006 17.5);
Tailwind
colors: {
  custom: {
    50: '#676464',
    500: '#2f2b2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b2b;
$custom-light: #676464;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b2b",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 43
  },
  "hsl": {
    "h": 0,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29334,
    "c": 0.00585,
    "h": 17.5
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#2F2B2B
secondary
#585E5E
accent
#AEAE7A
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #2F2B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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