#2C2E2E#2C2E2E

#2C2E2E is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.9% C 0.003 H 197.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#2C2E2E
RGBrgb(44, 46, 46)
HSLhsl(180, 2%, 18%)
HSVhsv(180, 4%, 18%)
CMYKcmyk(4.3%, 0%, 0%, 82%)
CIE-LABlab(18.74, -0.88, -0.31)
CIE-LCHlch(18.74, 0.94, 199.22°)
OKLaboklab(29.92% -0.0027 -0.0008)
OKLCHoklch(29.92% 0.003 197)
XYZxyz(2.5087, 2.6867, 2.9707)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E2E #2E2C2C
analogous
#2C2E2D #2C2E2E #2C2D2E
triadic
#2C2E2E #2E2C2E #2E2E2C
tetradic
#2C2E2E #2D2C2E #2E2C2C #2D2E2C
square
#2C2E2E #2D2C2E #2E2C2C #2D2E2C
split-complementary
#2C2E2E #2E2C2D #2E2D2C
monochromatic
#0F1010 #0F1010 #2C2E2E #4A4D4D #686D6D

Accessibility & contrast

On white

13.66
#2C2E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2C2E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E2E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E2E#FFFFFF#000000##FFFFFF
##2C2E2E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2e2e;
/* rgb */ color: rgb(44, 46, 46);
/* oklch */ color: oklch(29.9% 0.003 197.0);
Tailwind
colors: {
  custom: {
    50: '#656666',
    500: '#2c2e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e2e;
$custom-light: #656666;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e2e",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 180,
    "s": 2.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29917,
    "c": 0.00284,
    "h": 197
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#2C2E2E
secondary
#5C5959
accent
#7C7CAB
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2C2E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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