#2C262A#2C262A

#2C262A is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.7% C 0.011 H 338.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#2C262A
RGBrgb(44, 38, 42)
HSLhsl(320, 7%, 16%)
HSVhsv(320, 14%, 17%)
CMYKcmyk(0%, 13.6%, 4.5%, 82.7%)
CIE-LABlab(15.95, 3.70, -1.61)
CIE-LCHlch(15.95, 4.03, 336.45°)
OKLaboklab(27.68% 0.0105 -0.0042)
OKLCHoklch(27.68% 0.011 338.1)
XYZxyz(2.1497, 2.0889, 2.4800)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C262A #262C28
analogous
#2B262C #2C262A #2C2627
triadic
#2C262A #2A2C26 #262A2C
tetradic
#2C262A #2C2B26 #262C28 #26272C
square
#2C262A #2C2B26 #262C28 #26272C
split-complementary
#2C262A #272C26 #262C2B
monochromatic
#100E10 #100E10 #2C262A #4D4249 #6E5F69

Accessibility & contrast

On white

14.81
#2C262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2C262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C262A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C262A#FFFFFF#000000##FFFFFF
##2C262A1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#27282A
Tritanopia (blue-blind)
#2D2627
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c262a;
/* rgb */ color: rgb(44, 38, 42);
/* oklch */ color: oklch(27.7% 0.011 338.1);
Tailwind
colors: {
  custom: {
    50: '#656063',
    500: '#2c262a',
    950: '#000000',
  },
}
SCSS
$custom: #2c262a;
$custom-light: #656063;
$custom-dark: #000000;
JSON
{
  "hex": "#2c262a",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 320,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27681,
    "c": 0.01136,
    "h": 338.1
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#2C262A
secondary
#525B55
accent
#B08A77
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050405
muted
#7A7979

Preview Lab

Preview with #2C262A

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

Preview Lab → · Contrast checker → · Palette generator →

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