#2A2829#2A2829

#2A2829 is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 27.9% C 0.003 H 345.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#2A2829
RGBrgb(42, 40, 41)
HSLhsl(330, 2%, 16%)
HSVhsv(330, 5%, 16%)
CMYKcmyk(0%, 4.8%, 2.4%, 83.5%)
CIE-LABlab(16.35, 1.15, -0.33)
CIE-LCHlch(16.35, 1.20, 343.95°)
OKLaboklab(27.94% 0.0033 -0.0009)
OKLCHoklch(27.94% 0.003 345.4)
XYZxyz(2.1138, 2.1699, 2.4049)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2829 #282A29
analogous
#2A282A #2A2829 #2A2828
triadic
#2A2829 #292A28 #28292A
tetradic
#2A2829 #2A2A28 #282A29 #28282A
square
#2A2829 #2A2A28 #282A29 #28282A
split-complementary
#2A2829 #282A28 #282A2A
monochromatic
#100F0F #100F0F #2A2829 #494648 #696466

Accessibility & contrast

On white

14.64
#2A2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2829
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2829#FFFFFF#000000##FFFFFF
##2A28291.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282829
Deuteranopia (green-blind)
#292929
Tritanopia (blue-blind)
#2A2828
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2829;
/* rgb */ color: rgb(42, 40, 41);
/* oklch */ color: oklch(27.9% 0.003 345.4);
Tailwind
colors: {
  custom: {
    50: '#636162',
    500: '#2a2829',
    950: '#000000',
  },
}
SCSS
$custom: #2a2829;
$custom-light: #636162;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2829",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 330,
    "s": 2.439,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27935,
    "c": 0.00342,
    "h": 345.4
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#2A2829
secondary
#555857
accent
#AC947C
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050505
muted
#797979

Preview Lab

Preview with #2A2829

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

Preview Lab → · Contrast checker → · Palette generator →

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