#2A2E2D#2A2E2D

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

Color values

HEX#2A2E2D
RGBrgb(42, 46, 45)
HSLhsl(165, 5%, 17%)
HSVhsv(165, 9%, 18%)
CMYKcmyk(8.7%, 0%, 2.2%, 82%)
CIE-LABlab(18.52, -2.00, 0.04)
CIE-LCHlch(18.52, 2.00, 178.87°)
OKLaboklab(29.69% -0.0059 0.0001)
OKLCHoklch(29.69% 0.006 179.3)
XYZxyz(2.4054, 2.6357, 2.8641)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E2D #2E2A2B
analogous
#2A2E2B #2A2E2D #2A2D2E
triadic
#2A2E2D #2D2A2E #2E2D2A
tetradic
#2A2E2D #2B2A2E #2E2A2B #2D2E2A
square
#2A2E2D #2B2A2E #2E2A2B #2D2E2A
split-complementary
#2A2E2D #2E2A2D #2E2B2A
monochromatic
#0F1010 #0F1010 #2A2E2D #474E4C #646E6C

Accessibility & contrast

On white

13.75
#2A2E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E2D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E2D#FFFFFF#000000##FFFFFF
##2A2E2D1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2e2d;
/* rgb */ color: rgb(42, 46, 45);
/* oklch */ color: oklch(29.7% 0.006 179.3);
Tailwind
colors: {
  custom: {
    50: '#636665',
    500: '#2a2e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e2d;
$custom-light: #636665;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e2d",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 45
  },
  "hsl": {
    "h": 165,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29685,
    "c": 0.00591,
    "h": 179.3
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#2A2E2D
secondary
#5D5758
accent
#7A87AE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050605
muted
#797A7A

Preview Lab

Preview with #2A2E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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