#3E4040#3E4040

#3E4040 is a dark, near-neutral grey. Relative luminance 0.051; OKLCH L 37.0% C 0.003 H 197.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3E4040
RGBrgb(62, 64, 64)
HSLhsl(180, 2%, 25%)
HSVhsv(180, 3%, 25%)
CMYKcmyk(3.1%, 0%, 0%, 74.9%)
CIE-LABlab(26.91, -0.84, -0.29)
CIE-LCHlch(26.91, 0.89, 199.23°)
OKLaboklab(36.96% -0.0026 -0.0008)
OKLCHoklch(36.96% 0.003 197)
XYZxyz(4.7452, 5.0611, 5.5764)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4040 #403E3E
analogous
#3E403F #3E4040 #3E3F40
triadic
#3E4040 #403E40 #40403E
tetradic
#3E4040 #3F3E40 #403E3E #3F403E
square
#3E4040 #3F3E40 #403E3E #3F403E
split-complementary
#3E4040 #403E3F #403F3E
monochromatic
#0F1010 #202121 #3E4040 #5C5F5F #7A7E7E

Accessibility & contrast

On white

10.44
#3E4040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E4040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4040
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4040#FFFFFF#000000##FFFFFF
##3E40401.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#3F3F40
Tritanopia (blue-blind)
#3D4040
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e4040;
/* rgb */ color: rgb(62, 64, 64);
/* oklch */ color: oklch(37.0% 0.003 197.0);
Tailwind
colors: {
  custom: {
    50: '#737474',
    500: '#3e4040',
    950: '#000000',
  },
}
SCSS
$custom: #3e4040;
$custom-light: #737474;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4040",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 180,
    "s": 1.587,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36958,
    "c": 0.0027,
    "h": 197
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#3E4040
secondary
#6E6C6C
accent
#7D7DAB
background
#F6F7F7
surface
#ECEDED
border
#C7C8C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #3E4040

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

Preview Lab → · Contrast checker → · Palette generator →

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