#2C2E2A#2C2E2A

#2C2E2A is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.8% C 0.008 H 128.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#2C2E2A
RGBrgb(44, 46, 42)
HSLhsl(90, 5%, 17%)
HSVhsv(90, 9%, 18%)
CMYKcmyk(4.3%, 0%, 8.7%, 82%)
CIE-LABlab(18.61, -1.82, 2.27)
CIE-LCHlch(18.61, 2.91, 128.74°)
OKLaboklab(29.77% -0.0048 0.0059)
OKLCHoklch(29.77% 0.008 128.8)
XYZxyz(2.4336, 2.6566, 2.5746)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E2A #2C2A2E
analogous
#2E2E2A #2C2E2A #2A2E2A
triadic
#2C2E2A #2A2C2E #2E2A2C
tetradic
#2C2E2A #2A2E2E #2C2A2E #2E2A2A
square
#2C2E2A #2A2E2E #2C2A2E #2E2A2A
split-complementary
#2C2E2A #2A2A2E #2E2A2E
monochromatic
#0F100F #0F100F #2C2E2A #4B4E47 #696E64

Accessibility & contrast

On white

13.71
#2C2E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2C2E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E2A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E2A#FFFFFF#000000##FFFFFF
##2C2E2A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2A
Deuteranopia (green-blind)
#2E2D2A
Tritanopia (blue-blind)
#2C2E2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c2e2a;
/* rgb */ color: rgb(44, 46, 42);
/* oklch */ color: oklch(29.8% 0.008 128.8);
Tailwind
colors: {
  custom: {
    50: '#656663',
    500: '#2c2e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e2a;
$custom-light: #656663;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e2a",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 90,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29772,
    "c": 0.00762,
    "h": 128.8
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#2C2E2A
secondary
#5A575D
accent
#7AAE94
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2C2E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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