#312E2E#312E2E

#312E2E is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.004 H 17.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#312E2E
RGBrgb(49, 46, 46)
HSLhsl(0, 3%, 19%)
HSVhsv(0, 6%, 19%)
CMYKcmyk(0%, 6.1%, 6.1%, 80.8%)
CIE-LABlab(19.24, 1.34, 0.48)
CIE-LCHlch(19.24, 1.43, 19.70°)
OKLaboklab(30.43% 0.0041 0.0013)
OKLCHoklch(30.43% 0.004 17.3)
XYZxyz(2.7367, 2.8042, 2.9813)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312E2E #2E3131
analogous
#312E2F #312E2E #312F2E
triadic
#312E2E #2E312E #2E2E31
tetradic
#312E2E #2F312E #2E3131 #2F2E31
square
#312E2E #2F312E #2E3131 #2F2E31
split-complementary
#312E2E #2E312F #2E2F31
monochromatic
#100F0F #111010 #312E2E #514C4C #706969

Accessibility & contrast

On white

13.45
#312E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#312E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312E2E
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312E2E#FFFFFF#000000##FFFFFF
##312E2E1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2E
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#322E2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #312e2e;
/* rgb */ color: rgb(49, 46, 46);
/* oklch */ color: oklch(30.4% 0.004 17.3);
Tailwind
colors: {
  custom: {
    50: '#696666',
    500: '#312e2e',
    950: '#000000',
  },
}
SCSS
$custom: #312e2e;
$custom-light: #696666;
$custom-dark: #000000;
JSON
{
  "hex": "#312e2e",
  "rgb": {
    "r": 49,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 0,
    "s": 3.158,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30432,
    "c": 0.00433,
    "h": 17.3
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#312E2E
secondary
#5B5F5F
accent
#ACAC7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #312E2E

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

Preview Lab → · Contrast checker → · Palette generator →

#312E2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva