#2F2B2D#2F2B2D

#2F2B2D is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.4% C 0.007 H 345.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#2F2B2D
RGBrgb(47, 43, 45)
HSLhsl(330, 4%, 18%)
HSVhsv(330, 9%, 18%)
CMYKcmyk(0%, 8.5%, 4.3%, 81.6%)
CIE-LABlab(18.02, 2.27, -0.64)
CIE-LCHlch(18.02, 2.36, 344.24°)
OKLaboklab(29.41% 0.0066 -0.0017)
OKLCHoklch(29.41% 0.007 345.7)
XYZxyz(2.5098, 2.5216, 2.8366)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B2D #2B2F2D
analogous
#2F2B2F #2F2B2D #2F2B2B
triadic
#2F2B2D #2D2F2B #2B2D2F
tetradic
#2F2B2D #2F2F2B #2B2F2D #2B2B2F
square
#2F2B2D #2F2F2B #2B2F2D #2B2B2F
split-complementary
#2F2B2D #2B2F2B #2B2F2F
monochromatic
#100F0F #100F0F #2F2B2D #4F484C #6F656A

Accessibility & contrast

On white

13.96
#2F2B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2B2D
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B2D#FFFFFF#000000##FFFFFF
##2F2B2D1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2D
Deuteranopia (green-blind)
#2C2C2D
Tritanopia (blue-blind)
#302B2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2b2d;
/* rgb */ color: rgb(47, 43, 45);
/* oklch */ color: oklch(29.4% 0.007 345.7);
Tailwind
colors: {
  custom: {
    50: '#676465',
    500: '#2f2b2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b2d;
$custom-light: #676465;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b2d",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 45
  },
  "hsl": {
    "h": 330,
    "s": 4.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2941,
    "c": 0.00678,
    "h": 345.7
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#2F2B2D
secondary
#585E5B
accent
#AE947A
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060505
muted
#7A797A

Preview Lab

Preview with #2F2B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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