#2A2B2D#2A2B2D

#2A2B2D is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.9% C 0.004 H 264.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#2A2B2D
RGBrgb(42, 43, 45)
HSLhsl(220, 3%, 17%)
HSVhsv(220, 7%, 18%)
CMYKcmyk(6.7%, 4.4%, 0%, 82.4%)
CIE-LABlab(17.50, 0.05, -1.45)
CIE-LCHlch(17.50, 1.45, 271.85°)
OKLaboklab(28.88% -0.0004 -0.0039)
OKLCHoklch(28.88% 0.004 264.6)
XYZxyz(2.2923, 2.4094, 2.8264)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B2D #2D2C2A
analogous
#2A2D2D #2A2B2D #2B2A2D
triadic
#2A2B2D #2D2A2B #2B2D2A
tetradic
#2A2B2D #2D2A2D #2D2C2A #2A2D2B
square
#2A2B2D #2D2A2D #2D2C2A #2A2D2B
split-complementary
#2A2B2D #2D2B2A #2D2D2A
monochromatic
#0F0F10 #0F0F10 #2A2B2D #48494D #65676C

Accessibility & contrast

On white

14.17
#2A2B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A2B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B2D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B2D#FFFFFF#000000##FFFFFF
##2A2B2D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2D
Deuteranopia (green-blind)
#2A2B2D
Tritanopia (blue-blind)
#292B2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2b2d;
/* rgb */ color: rgb(42, 43, 45);
/* oklch */ color: oklch(28.9% 0.004 264.6);
Tailwind
colors: {
  custom: {
    50: '#636465',
    500: '#2a2b2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b2d;
$custom-light: #636465;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b2d",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 45
  },
  "hsl": {
    "h": 220,
    "s": 3.448,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28884,
    "c": 0.0039,
    "h": 264.6
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#2A2B2D
secondary
#5C5A57
accent
#9C7BAD
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050505
muted
#79797A

Preview Lab

Preview with #2A2B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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