#2A2E28#2A2E28

#2A2E28 is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.5% C 0.012 H 135.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#2A2E28
RGBrgb(42, 46, 40)
HSLhsl(100, 7%, 17%)
HSVhsv(100, 13%, 18%)
CMYKcmyk(8.7%, 0%, 13%, 82%)
CIE-LABlab(18.36, -3.18, 3.27)
CIE-LCHlch(18.36, 4.56, 134.21°)
OKLaboklab(29.51% -0.0085 0.0085)
OKLCHoklch(29.51% 0.012 135)
XYZxyz(2.3148, 2.5994, 2.3869)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E28 #2C282E
analogous
#2D2E28 #2A2E28 #282E29
triadic
#2A2E28 #282A2E #2E282A
tetradic
#2A2E28 #282D2E #2C282E #2E2928
square
#2A2E28 #282D2E #2C282E #2E2928
split-complementary
#2A2E28 #29282E #2E282D
monochromatic
#0F100E #0F100E #2A2E28 #484F44 #666F61

Accessibility & contrast

On white

13.82
#2A2E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2A2E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E28
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E28#FFFFFF#000000##FFFFFF
##2A2E281.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D28
Deuteranopia (green-blind)
#2E2D28
Tritanopia (blue-blind)
#2A2D2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2e28;
/* rgb */ color: rgb(42, 46, 40);
/* oklch */ color: oklch(29.5% 0.012 135.0);
Tailwind
colors: {
  custom: {
    50: '#636661',
    500: '#2a2e28',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e28;
$custom-light: #636661;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e28",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 100,
    "s": 6.977,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29506,
    "c": 0.01204,
    "h": 135
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#2A2E28
secondary
#5A555D
accent
#78B09D
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050605
muted
#797A79

Preview Lab

Preview with #2A2E28

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

Preview Lab → · Contrast checker → · Palette generator →

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