#2D312E#2D312E

#2D312E is a dark, near-neutral grey. Relative luminance 0.030; OKLCH L 30.8% C 0.008 H 153.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2D312E
RGBrgb(45, 49, 46)
HSLhsl(135, 4%, 18%)
HSVhsv(135, 8%, 19%)
CMYKcmyk(8.2%, 0%, 6.1%, 80.8%)
CIE-LABlab(19.85, -2.46, 1.31)
CIE-LCHlch(19.85, 2.79, 151.90°)
OKLaboklab(30.81% -0.0069 0.0034)
OKLCHoklch(30.81% 0.008 153.4)
XYZxyz(2.6735, 2.9517, 3.0131)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D312E #312D30
analogous
#2E312D #2D312E #2D3130
triadic
#2D312E #2E2D31 #312E2D
tetradic
#2D312E #2D2E31 #312D30 #31302D
square
#2D312E #2D2E31 #312D30 #31302D
split-complementary
#2D312E #302D31 #312D2E
monochromatic
#0F100F #101110 #2D312E #4A514C #68716A

Accessibility & contrast

On white

13.20
#2D312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D312E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D312E#FFFFFF#000000##FFFFFF
##2D312E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31302E
Deuteranopia (green-blind)
#30302E
Tritanopia (blue-blind)
#2C3130
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d312e;
/* rgb */ color: rgb(45, 49, 46);
/* oklch */ color: oklch(30.8% 0.008 153.4);
Tailwind
colors: {
  custom: {
    50: '#656966',
    500: '#2d312e',
    950: '#000000',
  },
}
SCSS
$custom: #2d312e;
$custom-light: #656966;
$custom-dark: #000000;
JSON
{
  "hex": "#2d312e",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 135,
    "s": 4.255,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30814,
    "c": 0.00769,
    "h": 153.4
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#2D312E
secondary
#605A5E
accent
#7AA1AD
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2D312E

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

Preview Lab → · Contrast checker → · Palette generator →

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