#2C2F2E#2C2F2E

#2C2F2E is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.2% C 0.005 H 174.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#2C2F2E
RGBrgb(44, 47, 46)
HSLhsl(160, 3%, 18%)
HSVhsv(160, 6%, 18%)
CMYKcmyk(6.4%, 0%, 2.1%, 81.6%)
CIE-LABlab(19.08, -1.56, 0.19)
CIE-LCHlch(19.08, 1.57, 173.22°)
OKLaboklab(30.18% -0.0046 0.0005)
OKLCHoklch(30.18% 0.005 174.1)
XYZxyz(2.5483, 2.7657, 2.9838)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F2E #2F2C2D
analogous
#2C2F2C #2C2F2E #2C2E2F
triadic
#2C2F2E #2E2C2F #2F2E2C
tetradic
#2C2F2E #2C2C2F #2F2C2D #2E2F2C
square
#2C2F2E #2C2C2F #2F2C2D #2E2F2C
split-complementary
#2C2F2E #2F2C2E #2F2C2C
monochromatic
#0F100F #0F100F #2C2F2E #4A4F4D #676E6C

Accessibility & contrast

On white

13.52
#2C2F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2F2E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F2E#FFFFFF#000000##FFFFFF
##2C2F2E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2F2E
Deuteranopia (green-blind)
#2E2E2E
Tritanopia (blue-blind)
#2B2F2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c2f2e;
/* rgb */ color: rgb(44, 47, 46);
/* oklch */ color: oklch(30.2% 0.005 174.1);
Tailwind
colors: {
  custom: {
    50: '#656766',
    500: '#2c2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f2e;
$custom-light: #656766;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f2e",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 160,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30183,
    "c": 0.00458,
    "h": 174.1
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#2C2F2E
secondary
#5E595B
accent
#7B8CAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2C2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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