#2A2E2B#2A2E2B

#2A2E2B is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.6% C 0.008 H 153.4°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#2A2E2B
RGBrgb(42, 46, 43)
HSLhsl(135, 5%, 17%)
HSVhsv(135, 9%, 18%)
CMYKcmyk(8.7%, 0%, 6.5%, 82%)
CIE-LABlab(18.46, -2.49, 1.33)
CIE-LCHlch(18.46, 2.82, 151.87°)
OKLaboklab(29.61% -0.0069 0.0035)
OKLCHoklch(29.61% 0.008 153.4)
XYZxyz(2.3678, 2.6206, 2.6661)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E2B #2E2A2D
analogous
#2B2E2A #2A2E2B #2A2E2D
triadic
#2A2E2B #2B2A2E #2E2B2A
tetradic
#2A2E2B #2A2B2E #2E2A2D #2E2D2A
square
#2A2E2B #2A2B2E #2E2A2D #2E2D2A
split-complementary
#2A2E2B #2D2A2E #2E2A2B
monochromatic
#0F100F #0F100F #2A2E2B #474E49 #646E67

Accessibility & contrast

On white

13.78
#2A2E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E2B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E2B#FFFFFF#000000##FFFFFF
##2A2E2B1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2B
Deuteranopia (green-blind)
#2D2D2B
Tritanopia (blue-blind)
#292E2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2e2b;
/* rgb */ color: rgb(42, 46, 43);
/* oklch */ color: oklch(29.6% 0.008 153.4);
Tailwind
colors: {
  custom: {
    50: '#636664',
    500: '#2a2e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e2b;
$custom-light: #636664;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e2b",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 135,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29611,
    "c": 0.00776,
    "h": 153.4
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#2A2E2B
secondary
#5D575B
accent
#7AA1AE
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #2A2E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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