#3A403A#3A403A

#3A403A is a dark, near-neutral grey. Relative luminance 0.049; OKLCH L 36.4% C 0.013 H 145.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3A403A
RGBrgb(58, 64, 58)
HSLhsl(120, 5%, 24%)
HSVhsv(120, 9%, 25%)
CMYKcmyk(9.4%, 0%, 9.4%, 74.9%)
CIE-LABlab(26.37, -3.88, 2.82)
CIE-LCHlch(26.37, 4.79, 143.97°)
OKLaboklab(36.38% -0.0106 0.0074)
OKLCHoklch(36.38% 0.013 145.3)
XYZxyz(4.3419, 4.8718, 4.7138)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A403A #403A40
analogous
#3D403A #3A403A #3A403D
triadic
#3A403A #3A3A40 #403A3A
tetradic
#3A403A #3A3D40 #403A40 #403D3A
square
#3A403A #3A3D40 #403A40 #403D3A
split-complementary
#3A403A #3D3A40 #403A3D
monochromatic
#0F100F #1D201D #3A403A #576057 #748074

Accessibility & contrast

On white

10.64
#3A403A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3A403A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A403A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A403A#FFFFFF#000000##FFFFFF
##3A403A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403F3A
Deuteranopia (green-blind)
#3F3E3A
Tritanopia (blue-blind)
#3A403E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a403a;
/* rgb */ color: rgb(58, 64, 58);
/* oklch */ color: oklch(36.4% 0.013 145.3);
Tailwind
colors: {
  custom: {
    50: '#707470',
    500: '#3a403a',
    950: '#000000',
  },
}
SCSS
$custom: #3a403a;
$custom-light: #707470;
$custom-dark: #000000;
JSON
{
  "hex": "#3a403a",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 58
  },
  "hsl": {
    "h": 120,
    "s": 4.918,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3638,
    "c": 0.01292,
    "h": 145.3
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#3A403A
secondary
#6F676F
accent
#7AAEAE
background
#F6F7F6
surface
#ECEDEC
border
#C7C8C7
text
#070807
muted
#7A7B7A

Preview Lab

Preview with #3A403A

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

Preview Lab → · Contrast checker → · Palette generator →

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