#2C262B#2C262B

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

Color values

HEX#2C262B
RGBrgb(44, 38, 43)
HSLhsl(310, 7%, 16%)
HSVhsv(310, 14%, 17%)
CMYKcmyk(0%, 13.6%, 2.3%, 82.7%)
CIE-LABlab(15.98, 3.94, -2.27)
CIE-LCHlch(15.98, 4.54, 330.06°)
OKLaboklab(27.72% 0.011 -0.006)
OKLCHoklch(27.72% 0.013 331.4)
XYZxyz(2.1678, 2.0961, 2.5754)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C262B #262C27
analogous
#2A262C #2C262B #2C2628
triadic
#2C262B #2B2C26 #262B2C
tetradic
#2C262B #2C2A26 #262C27 #26282C
square
#2C262B #2C2A26 #262C27 #26282C
split-complementary
#2C262B #282C26 #262C2A
monochromatic
#100E10 #100E10 #2C262B #4D424B #6E5F6B

Accessibility & contrast

On white

14.80
#2C262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C262B
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C262B#FFFFFF#000000##FFFFFF
##2C262B1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c262b;
/* rgb */ color: rgb(44, 38, 43);
/* oklch */ color: oklch(27.7% 0.013 331.4);
Tailwind
colors: {
  custom: {
    50: '#656064',
    500: '#2c262b',
    950: '#000000',
  },
}
SCSS
$custom: #2c262b;
$custom-light: #656064;
$custom-dark: #000000;
JSON
{
  "hex": "#2c262b",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 310,
    "s": 7.317,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27722,
    "c": 0.01255,
    "h": 331.4
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#2C262B
secondary
#525B54
accent
#B08177
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050405
muted
#7A7979

Preview Lab

Preview with #2C262B

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

Preview Lab → · Contrast checker → · Palette generator →

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