#2A2D2E#2A2D2E

#2A2D2E is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.5% C 0.005 H 219.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#2A2D2E
RGBrgb(42, 45, 46)
HSLhsl(195, 5%, 17%)
HSVhsv(195, 9%, 18%)
CMYKcmyk(8.7%, 2.2%, 0%, 82%)
CIE-LABlab(18.22, -1.07, -1.10)
CIE-LCHlch(18.22, 1.54, 225.83°)
OKLaboklab(29.46% -0.0036 -0.003)
OKLCHoklch(29.46% 0.005 219.7)
XYZxyz(2.3863, 2.5662, 2.9539)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D2E #2E2B2A
analogous
#2A2E2D #2A2D2E #2A2B2E
triadic
#2A2D2E #2E2A2D #2D2E2A
tetradic
#2A2D2E #2D2A2E #2E2B2A #2B2E2A
square
#2A2D2E #2D2A2E #2E2B2A #2B2E2A
split-complementary
#2A2D2E #2E2A2B #2E2D2A
monochromatic
#0F1010 #0F1010 #2A2D2E #474C4E #646C6E

Accessibility & contrast

On white

13.88
#2A2D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2A2D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D2E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D2E#FFFFFF#000000##FFFFFF
##2A2D2E1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#2C2C2E
Tritanopia (blue-blind)
#292D2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2d2e;
/* rgb */ color: rgb(42, 45, 46);
/* oklch */ color: oklch(29.5% 0.005 219.7);
Tailwind
colors: {
  custom: {
    50: '#636566',
    500: '#2a2d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d2e;
$custom-light: #636566;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d2e",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 195,
    "s": 4.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29455,
    "c": 0.00464,
    "h": 219.7
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#2A2D2E
secondary
#5D5857
accent
#877AAE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #2A2D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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