#3C4040#3C4040

#3C4040 is a dark, near-neutral grey. Relative luminance 0.050; OKLCH L 36.8% C 0.005 H 196.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3C4040
RGBrgb(60, 64, 64)
HSLhsl(180, 3%, 24%)
HSVhsv(180, 6%, 25%)
CMYKcmyk(6.2%, 0%, 0%, 74.9%)
CIE-LABlab(26.73, -1.67, -0.58)
CIE-LCHlch(26.73, 1.77, 199.10°)
OKLaboklab(36.77% -0.0051 -0.0016)
OKLCHoklch(36.77% 0.005 196.9)
XYZxyz(4.6221, 4.9976, 5.5706)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4040 #403C3C
analogous
#3C403E #3C4040 #3C3E40
triadic
#3C4040 #403C40 #40403C
tetradic
#3C4040 #3E3C40 #403C3C #3E403C
square
#3C4040 #3E3C40 #403C3C #3E403C
split-complementary
#3C4040 #403C3E #403E3C
monochromatic
#0F1010 #1E2020 #3C4040 #5A6060 #777F7F

Accessibility & contrast

On white

10.50
#3C4040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3C4040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4040
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4040#FFFFFF#000000##FFFFFF
##3C40401.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4040
Deuteranopia (green-blind)
#3F3F40
Tritanopia (blue-blind)
#3B4040
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c4040;
/* rgb */ color: rgb(60, 64, 64);
/* oklch */ color: oklch(36.8% 0.005 196.9);
Tailwind
colors: {
  custom: {
    50: '#717474',
    500: '#3c4040',
    950: '#000000',
  },
}
SCSS
$custom: #3c4040;
$custom-light: #717474;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4040",
  "rgb": {
    "r": 60,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 180,
    "s": 3.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36771,
    "c": 0.00537,
    "h": 196.9
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#3C4040
secondary
#6E6969
accent
#7B7BAC
background
#F6F7F7
surface
#ECEDED
border
#C7C8C8
text
#070808
muted
#7A7B7B

Preview Lab

Preview with #3C4040

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

Preview Lab → · Contrast checker → · Palette generator →

#3C4040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva