#2A2E2E#2A2E2E

#2A2E2E is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.7% C 0.006 H 196.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#2A2E2E
RGBrgb(42, 46, 46)
HSLhsl(180, 5%, 17%)
HSVhsv(180, 9%, 18%)
CMYKcmyk(8.7%, 0%, 0%, 82%)
CIE-LABlab(18.56, -1.75, -0.60)
CIE-LCHlch(18.56, 1.85, 199.00°)
OKLaboklab(29.72% -0.0054 -0.0016)
OKLCHoklch(29.72% 0.006 196.9)
XYZxyz(2.4249, 2.6435, 2.9667)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E2E #2E2A2A
analogous
#2A2E2C #2A2E2E #2A2C2E
triadic
#2A2E2E #2E2A2E #2E2E2A
tetradic
#2A2E2E #2C2A2E #2E2A2A #2C2E2A
square
#2A2E2E #2C2A2E #2E2A2A #2C2E2A
split-complementary
#2A2E2E #2E2A2C #2E2C2A
monochromatic
#0F1010 #0F1010 #2A2E2E #474E4E #646E6E

Accessibility & contrast

On white

13.74
#2A2E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E2E
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E2E#FFFFFF#000000##FFFFFF
##2A2E2E1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2E2E
Deuteranopia (green-blind)
#2D2D2E
Tritanopia (blue-blind)
#292E2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2e2e;
/* rgb */ color: rgb(42, 46, 46);
/* oklch */ color: oklch(29.7% 0.006 196.9);
Tailwind
colors: {
  custom: {
    50: '#636666',
    500: '#2a2e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e2e;
$custom-light: #636666;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e2e",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 180,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29723,
    "c": 0.00564,
    "h": 196.9
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#2A2E2E
secondary
#5D5757
accent
#7A7AAE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2A2E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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