#2C2F2D#2C2F2D

#2C2F2D is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.1% C 0.006 H 156.9°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#2C2F2D
RGBrgb(44, 47, 45)
HSLhsl(140, 3%, 18%)
HSVhsv(140, 6%, 18%)
CMYKcmyk(6.4%, 0%, 4.3%, 81.6%)
CIE-LABlab(19.05, -1.80, 0.83)
CIE-LCHlch(19.05, 1.98, 155.29°)
OKLaboklab(30.15% -0.0051 0.0022)
OKLCHoklch(30.15% 0.006 156.9)
XYZxyz(2.5288, 2.7579, 2.8812)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F2D #2F2C2E
analogous
#2C2F2C #2C2F2D #2C2F2E
triadic
#2C2F2D #2D2C2F #2F2D2C
tetradic
#2C2F2D #2C2C2F #2F2C2E #2F2E2C
square
#2C2F2D #2C2C2F #2F2C2E #2F2E2C
split-complementary
#2C2F2D #2E2C2F #2F2C2C
monochromatic
#0F100F #0F100F #2C2F2D #4A4F4B #676E6A

Accessibility & contrast

On white

13.53
#2C2F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2F2D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F2D#FFFFFF#000000##FFFFFF
##2C2F2D1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2D
Deuteranopia (green-blind)
#2E2E2D
Tritanopia (blue-blind)
#2C2F2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c2f2d;
/* rgb */ color: rgb(44, 47, 45);
/* oklch */ color: oklch(30.1% 0.006 156.9);
Tailwind
colors: {
  custom: {
    50: '#656765',
    500: '#2c2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f2d;
$custom-light: #656765;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f2d",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 140,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30146,
    "c": 0.00551,
    "h": 156.9
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#2C2F2D
secondary
#5E595C
accent
#7B9CAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050605
muted
#7A7A7A

Preview Lab

Preview with #2C2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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