#3E403F#3E403F

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

Color values

HEX#3E403F
RGBrgb(62, 64, 63)
HSLhsl(150, 2%, 25%)
HSVhsv(150, 3%, 25%)
CMYKcmyk(3.1%, 0%, 1.6%, 74.9%)
CIE-LABlab(26.88, -1.07, 0.32)
CIE-LCHlch(26.88, 1.11, 163.45°)
OKLaboklab(36.92% -0.0031 0.0008)
OKLCHoklch(36.92% 0.003 164.8)
XYZxyz(4.7170, 5.0498, 5.4279)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E403F #403E3F
analogous
#3E403E #3E403F #3E4040
triadic
#3E403F #3F3E40 #403F3E
tetradic
#3E403F #3E3E40 #403E3F #40403E
square
#3E403F #3E3E40 #403E3F #40403E
split-complementary
#3E403F #403E40 #403E3E
monochromatic
#0F100F #202120 #3E403F #5C5F5E #7A7E7C

Accessibility & contrast

On white

10.45
#3E403F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E403F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E403F#FFFFFF#000000##FFFFFF
##3E403F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40403F
Deuteranopia (green-blind)
#403F3F
Tritanopia (blue-blind)
#3E4040
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e403f;
/* rgb */ color: rgb(62, 64, 63);
/* oklch */ color: oklch(36.9% 0.003 164.8);
Tailwind
colors: {
  custom: {
    50: '#737474',
    500: '#3e403f',
    950: '#000000',
  },
}
SCSS
$custom: #3e403f;
$custom-light: #737474;
$custom-dark: #000000;
JSON
{
  "hex": "#3e403f",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 63
  },
  "hsl": {
    "h": 150,
    "s": 1.587,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36922,
    "c": 0.00317,
    "h": 164.8
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#3E403F
secondary
#6E6C6D
accent
#7D94AB
background
#F6F7F7
surface
#ECEDED
border
#C7C8C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #3E403F

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

Preview Lab → · Contrast checker → · Palette generator →

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