#3E3840#3E3840

#3E3840 is a dark, near-neutral grey. Relative luminance 0.042; OKLCH L 35.0% C 0.016 H 317.7°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#3E3840
RGBrgb(62, 56, 64)
HSLhsl(285, 7%, 24%)
HSVhsv(285, 13%, 25%)
CMYKcmyk(3.1%, 12.5%, 0%, 74.9%)
CIE-LABlab(24.39, 4.41, -4.00)
CIE-LCHlch(24.39, 5.95, 317.75°)
OKLaboklab(34.99% 0.0117 -0.0107)
OKLCHoklch(34.99% 0.016 317.7)
XYZxyz(4.3260, 4.2227, 5.4367)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3840 #3A4038
analogous
#3A3840 #3E3840 #40383E
triadic
#3E3840 #403E38 #38403E
tetradic
#3E3840 #403A38 #3A4038 #383E40
square
#3E3840 #403A38 #3A4038 #383E40
split-complementary
#3E3840 #3E4038 #38403A
monochromatic
#100E10 #1E1B1F #3E3840 #5E5561 #7D7181

Accessibility & contrast

On white

11.38
#3E3840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3E3840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3840
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3840#FFFFFF#000000##FFFFFF
##3E38401.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A40
Deuteranopia (green-blind)
#383A40
Tritanopia (blue-blind)
#3E393B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e3840;
/* rgb */ color: rgb(62, 56, 64);
/* oklch */ color: oklch(35.0% 0.016 317.7);
Tailwind
colors: {
  custom: {
    50: '#736e74',
    500: '#3e3840',
    950: '#000000',
  },
}
SCSS
$custom: #3e3840;
$custom-light: #736e74;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3840",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 285,
    "s": 6.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3499,
    "c": 0.01588,
    "h": 317.7
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#3E3840
secondary
#676F65
accent
#B07886
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#080708
muted
#7B7A7B

Preview Lab

Preview with #3E3840

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

Preview Lab → · Contrast checker → · Palette generator →

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