#2D2F2A#2D2F2A

#2D2F2A is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.1% C 0.009 H 124.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#2D2F2A
RGBrgb(45, 47, 42)
HSLhsl(84, 6%, 17%)
HSVhsv(84, 11%, 18%)
CMYKcmyk(4.3%, 0%, 10.6%, 81.6%)
CIE-LABlab(19.05, -2.04, 2.91)
CIE-LCHlch(19.05, 3.56, 125.06°)
OKLaboklab(30.14% -0.0053 0.0076)
OKLCHoklch(30.14% 0.009 124.8)
XYZxyz(2.5166, 2.7581, 2.5898)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F2A #2C2A2F
analogous
#2F2F2A #2D2F2A #2B2F2A
triadic
#2D2F2A #2A2D2F #2F2A2D
tetradic
#2D2F2A #2A2F2F #2C2A2F #2F2A2B
square
#2D2F2A #2A2F2F #2C2A2F #2F2A2B
split-complementary
#2D2F2A #2A2B2F #2F2A2F
monochromatic
#0F100E #0F100E #2D2F2A #4C4F47 #6B7064

Accessibility & contrast

On white

13.53
#2D2F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D2F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F2A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F2A#FFFFFF#000000##FFFFFF
##2D2F2A1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302E2A
Deuteranopia (green-blind)
#2F2E2A
Tritanopia (blue-blind)
#2D2E2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2f2a;
/* rgb */ color: rgb(45, 47, 42);
/* oklch */ color: oklch(30.1% 0.009 124.8);
Tailwind
colors: {
  custom: {
    50: '#656763',
    500: '#2d2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f2a;
$custom-light: #656763;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f2a",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 84,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30139,
    "c": 0.00925,
    "h": 124.8
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#2D2F2A
secondary
#5A575E
accent
#79AF8F
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2D2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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