#2A2426#2A2426

#2A2426 is a dark, near-neutral grey. Relative luminance 0.019; OKLCH L 26.8% C 0.010 H 355.6°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#2A2426
RGBrgb(42, 36, 38)
HSLhsl(340, 8%, 15%)
HSVhsv(340, 14%, 16%)
CMYKcmyk(0%, 14.3%, 9.5%, 83.5%)
CIE-LABlab(14.92, 3.26, -0.30)
CIE-LCHlch(14.92, 3.27, 354.78°)
OKLaboklab(26.78% 0.0096 -0.0007)
OKLCHoklch(26.78% 0.01 355.6)
XYZxyz(1.9355, 1.8940, 2.0970)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2426 #242A28
analogous
#2A2429 #2A2426 #2A2524
triadic
#2A2426 #262A24 #24262A
tetradic
#2A2426 #292A24 #242A28 #25242A
square
#2A2426 #292A24 #242A28 #25242A
split-complementary
#2A2426 #242A25 #24292A
monochromatic
#100E0F #100E0F #2A2426 #4B4044 #6C5C62

Accessibility & contrast

On white

15.23
#2A2426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2A2426 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2426
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2426#FFFFFF#000000##FFFFFF
##2A24261.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252526
Deuteranopia (green-blind)
#262626
Tritanopia (blue-blind)
#2B2425
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a2426;
/* rgb */ color: rgb(42, 36, 38);
/* oklch */ color: oklch(26.8% 0.010 355.6);
Tailwind
colors: {
  custom: {
    50: '#635e60',
    500: '#2a2426',
    950: '#000000',
  },
}
SCSS
$custom: #2a2426;
$custom-light: #635e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2426",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 38
  },
  "hsl": {
    "h": 340,
    "s": 7.692,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2678,
    "c": 0.00967,
    "h": 355.6
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#2A2426
secondary
#505956
accent
#B19E77
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050404
muted
#797979

Preview Lab

Preview with #2A2426

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

Preview Lab → · Contrast checker → · Palette generator →

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