#2A2A2E#2A2A2E

#2A2A2E is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.7% C 0.007 H 285.9°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#2A2A2E
RGBrgb(42, 42, 46)
HSLhsl(240, 5%, 17%)
HSVhsv(240, 9%, 18%)
CMYKcmyk(8.7%, 8.7%, 0%, 82%)
CIE-LABlab(17.20, 0.99, -2.60)
CIE-LCHlch(17.20, 2.78, 290.92°)
OKLaboklab(28.66% 0.002 -0.0069)
OKLCHoklch(28.66% 0.007 285.9)
XYZxyz(2.2759, 2.3454, 2.9170)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A2E #2E2E2A
analogous
#2A2C2E #2A2A2E #2C2A2E
triadic
#2A2A2E #2E2A2A #2A2E2A
tetradic
#2A2A2E #2E2A2C #2E2E2A #2A2E2C
square
#2A2A2E #2E2A2C #2E2E2A #2A2E2C
split-complementary
#2A2A2E #2E2C2A #2C2E2A
monochromatic
#0F0F10 #0F0F10 #2A2A2E #47474E #64646E

Accessibility & contrast

On white

14.30
#2A2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2A2A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A2E
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A2E#FFFFFF#000000##FFFFFF
##2A2A2E1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2E
Deuteranopia (green-blind)
#292A2E
Tritanopia (blue-blind)
#292B2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2a2e;
/* rgb */ color: rgb(42, 42, 46);
/* oklch */ color: oklch(28.7% 0.007 285.9);
Tailwind
colors: {
  custom: {
    50: '#636366',
    500: '#2a2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a2e;
$custom-light: #636366;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a2e",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28661,
    "c": 0.00723,
    "h": 285.9
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#2A2A2E
secondary
#5D5D57
accent
#AE7AAE
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2A2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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