#2A2E2C#2A2E2C

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

Color values

HEX#2A2E2C
RGBrgb(42, 46, 44)
HSLhsl(150, 5%, 17%)
HSVhsv(150, 9%, 18%)
CMYKcmyk(8.7%, 0%, 4.3%, 82%)
CIE-LABlab(18.49, -2.25, 0.68)
CIE-LCHlch(18.49, 2.35, 163.06°)
OKLaboklab(29.65% -0.0064 0.0018)
OKLCHoklch(29.65% 0.007 164.5)
XYZxyz(2.3864, 2.6281, 2.7639)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E2C #2E2A2C
analogous
#2A2E2A #2A2E2C #2A2E2E
triadic
#2A2E2C #2C2A2E #2E2C2A
tetradic
#2A2E2C #2A2A2E #2E2A2C #2E2E2A
square
#2A2E2C #2A2A2E #2E2A2C #2E2E2A
split-complementary
#2A2E2C #2E2A2E #2E2A2A
monochromatic
#0F100F #0F100F #2A2E2C #474E4B #646E69

Accessibility & contrast

On white

13.77
#2A2E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2A2E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E2C
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E2C#FFFFFF#000000##FFFFFF
##2A2E2C1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2e2c;
/* rgb */ color: rgb(42, 46, 44);
/* oklch */ color: oklch(29.6% 0.007 164.5);
Tailwind
colors: {
  custom: {
    50: '#636665',
    500: '#2a2e2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e2c;
$custom-light: #636665;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e2c",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 150,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29647,
    "c": 0.00666,
    "h": 164.5
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#2A2E2C
secondary
#5D575A
accent
#7A94AE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050605
muted
#797A7A

Preview Lab

Preview with #2A2E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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