#2C262C#2C262C

#2C262C is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.8% C 0.014 H 325.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#2C262C
RGBrgb(44, 38, 44)
HSLhsl(300, 7%, 16%)
HSVhsv(300, 14%, 17%)
CMYKcmyk(0%, 13.6%, 0%, 82.7%)
CIE-LABlab(16.02, 4.18, -2.92)
CIE-LCHlch(16.02, 5.09, 325.05°)
OKLaboklab(27.76% 0.0115 -0.0078)
OKLCHoklch(27.76% 0.014 325.9)
XYZxyz(2.1864, 2.1036, 2.6732)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C262C #262C26
analogous
#29262C #2C262C #2C2629
triadic
#2C262C #2C2C26 #262C2C
tetradic
#2C262C #2C2926 #262C26 #26292C
square
#2C262C #2C2926 #262C26 #26292C
split-complementary
#2C262C #292C26 #262C29
monochromatic
#100E10 #100E10 #2C262C #4D424D #6E5F6E

Accessibility & contrast

On white

14.78
#2C262C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C262C
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C262C#FFFFFF#000000##FFFFFF
##2C262C1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c262c;
/* rgb */ color: rgb(44, 38, 44);
/* oklch */ color: oklch(27.8% 0.014 325.9);
Tailwind
colors: {
  custom: {
    50: '#656065',
    500: '#2c262c',
    950: '#000000',
  },
}
SCSS
$custom: #2c262c;
$custom-light: #656065;
$custom-dark: #000000;
JSON
{
  "hex": "#2c262c",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27764,
    "c": 0.01387,
    "h": 325.9
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#2C262C
secondary
#525B52
accent
#B07777
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050405
muted
#7A797A

Preview Lab

Preview with #2C262C

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

Preview Lab → · Contrast checker → · Palette generator →

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