#2A2826#2A2826

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

Color values

HEX#2A2826
RGBrgb(42, 40, 38)
HSLhsl(30, 5%, 16%)
HSVhsv(30, 10%, 16%)
CMYKcmyk(0%, 4.8%, 9.5%, 83.5%)
CIE-LABlab(16.25, 0.45, 1.64)
CIE-LCHlch(16.25, 1.70, 74.54°)
OKLaboklab(27.82% 0.0018 0.0043)
OKLCHoklch(27.82% 0.005 67.6)
XYZxyz(2.0634, 2.1498, 2.1396)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2826 #26282A
analogous
#2A2626 #2A2826 #2A2A26
triadic
#2A2826 #262A28 #28262A
tetradic
#2A2826 #262A26 #26282A #2A262A
square
#2A2826 #262A26 #26282A #2A262A
split-complementary
#2A2826 #262A2A #26262A
monochromatic
#100F0F #100F0F #2A2826 #4A4743 #6A6560

Accessibility & contrast

On white

14.69
#2A2826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2A2826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2826
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2826#FFFFFF#000000##FFFFFF
##2A28261.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292826
Deuteranopia (green-blind)
#292826
Tritanopia (blue-blind)
#2B2827
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2826;
/* rgb */ color: rgb(42, 40, 38);
/* oklch */ color: oklch(27.8% 0.005 67.6);
Tailwind
colors: {
  custom: {
    50: '#636160',
    500: '#2a2826',
    950: '#000000',
  },
}
SCSS
$custom: #2a2826;
$custom-light: #636160;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2826",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 30,
    "s": 5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27823,
    "c": 0.00467,
    "h": 67.6
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#2A2826
secondary
#535659
accent
#94AE7A
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050504
muted
#797979

Preview Lab

Preview with #2A2826

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

Preview Lab → · Contrast checker → · Palette generator →

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