#2C2D2F#2C2D2F

#2C2D2F is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.7% C 0.004 H 264.5°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#2C2D2F
RGBrgb(44, 45, 47)
HSLhsl(220, 3%, 18%)
HSVhsv(220, 6%, 18%)
CMYKcmyk(6.4%, 4.3%, 0%, 81.6%)
CIE-LABlab(18.44, 0.04, -1.44)
CIE-LCHlch(18.44, 1.44, 271.77°)
OKLaboklab(29.69% -0.0004 -0.0038)
OKLCHoklch(29.69% 0.004 264.5)
XYZxyz(2.4901, 2.6175, 3.0628)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D2F #2F2E2C
analogous
#2C2E2F #2C2D2F #2C2C2F
triadic
#2C2D2F #2F2C2D #2D2F2C
tetradic
#2C2D2F #2F2C2E #2F2E2C #2C2F2C
square
#2C2D2F #2F2C2E #2F2E2C #2C2F2C
split-complementary
#2C2D2F #2F2C2C #2E2F2C
monochromatic
#0F0F10 #0F0F10 #2C2D2F #4A4B4F #676A6E

Accessibility & contrast

On white

13.78
#2C2D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2C2D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D2F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D2F#FFFFFF#000000##FFFFFF
##2C2D2F1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2d2f;
/* rgb */ color: rgb(44, 45, 47);
/* oklch */ color: oklch(29.7% 0.004 264.5);
Tailwind
colors: {
  custom: {
    50: '#656567',
    500: '#2c2d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d2f;
$custom-light: #656567;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d2f",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 220,
    "s": 3.297,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29692,
    "c": 0.00387,
    "h": 264.5
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#2C2D2F
secondary
#5E5C59
accent
#9C7BAC
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050506
muted
#7A7A7A

Preview Lab

Preview with #2C2D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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