#2A2D2F#2A2D2F

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

Color values

HEX#2A2D2F
RGBrgb(42, 45, 47)
HSLhsl(204, 6%, 17%)
HSVhsv(204, 11%, 18%)
CMYKcmyk(10.6%, 4.3%, 0%, 81.6%)
CIE-LABlab(18.25, -0.82, -1.75)
CIE-LCHlch(18.25, 1.93, 244.87°)
OKLaboklab(29.49% -0.0031 -0.0047)
OKLCHoklch(29.49% 0.006 236.7)
XYZxyz(2.4062, 2.5742, 3.0589)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D2F #2F2C2A
analogous
#2A2F2F #2A2D2F #2A2B2F
triadic
#2A2D2F #2F2A2D #2D2F2A
tetradic
#2A2D2F #2F2A2F #2F2C2A #2B2F2A
square
#2A2D2F #2F2A2F #2F2C2A #2B2F2A
split-complementary
#2A2D2F #2F2A2B #2F2F2A
monochromatic
#0E0F10 #0E0F10 #2A2D2F #474C4F #646B70

Accessibility & contrast

On white

13.86
#2A2D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D2F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D2F#FFFFFF#000000##FFFFFF
##2A2D2F1.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2d2f;
/* rgb */ color: rgb(42, 45, 47);
/* oklch */ color: oklch(29.5% 0.006 236.7);
Tailwind
colors: {
  custom: {
    50: '#636567',
    500: '#2a2d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d2f;
$custom-light: #636567;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d2f",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 204,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29495,
    "c": 0.0056,
    "h": 236.7
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#2A2D2F
secondary
#5E5A57
accent
#8F79AF
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #2A2D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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