#3A3E40#3A3E40

#3A3E40 is a dark, near-neutral grey. Relative luminance 0.047; OKLCH L 36.1% C 0.006 H 229.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3A3E40
RGBrgb(58, 62, 64)
HSLhsl(200, 5%, 24%)
HSVhsv(200, 9%, 25%)
CMYKcmyk(9.4%, 3.1%, 0%, 74.9%)
CIE-LABlab(25.91, -1.20, -1.80)
CIE-LCHlch(25.91, 2.17, 236.43°)
OKLaboklab(36.08% -0.0042 -0.0048)
OKLCHoklch(36.08% 0.006 229)
XYZxyz(4.3928, 4.7149, 5.5281)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3E40 #403C3A
analogous
#3A403F #3A3E40 #3A3B40
triadic
#3A3E40 #403A3E #3E403A
tetradic
#3A3E40 #3F3A40 #403C3A #3B403A
square
#3A3E40 #3F3A40 #403C3A #3B403A
split-complementary
#3A3E40 #403A3B #403F3A
monochromatic
#0F1010 #1D1F20 #3A3E40 #575D60 #747C80

Accessibility & contrast

On white

10.81
#3A3E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3A3E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3E40
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3E40#FFFFFF#000000##FFFFFF
##3A3E401.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E40
Deuteranopia (green-blind)
#3C3D40
Tritanopia (blue-blind)
#393F3F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a3e40;
/* rgb */ color: rgb(58, 62, 64);
/* oklch */ color: oklch(36.1% 0.006 229.0);
Tailwind
colors: {
  custom: {
    50: '#707374',
    500: '#3a3e40',
    950: '#000000',
  },
}
SCSS
$custom: #3a3e40;
$custom-light: #707374;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3e40",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 64
  },
  "hsl": {
    "h": 200,
    "s": 4.918,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.00641,
    "h": 229
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#3A3E40
secondary
#6F6A67
accent
#8B7AAE
background
#F6F6F7
surface
#ECECED
border
#C7C7C8
text
#070808
muted
#7A7B7B

Preview Lab

Preview with #3A3E40

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

Preview Lab → · Contrast checker → · Palette generator →

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