#3A403E#3A403E

#3A403E is a dark, near-neutral grey. Relative luminance 0.049; OKLCH L 36.5% C 0.009 H 173.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3A403E
RGBrgb(58, 64, 62)
HSLhsl(160, 5%, 24%)
HSVhsv(160, 9%, 25%)
CMYKcmyk(9.4%, 0%, 3.1%, 74.9%)
CIE-LABlab(26.49, -2.96, 0.37)
CIE-LCHlch(26.49, 2.99, 172.95°)
OKLaboklab(36.52% -0.0086 0.0009)
OKLCHoklch(36.52% 0.009 173.9)
XYZxyz(4.4476, 4.9141, 5.2707)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A403E #403A3C
analogous
#3A403B #3A403E #3A3F40
triadic
#3A403E #3E3A40 #403E3A
tetradic
#3A403E #3B3A40 #403A3C #3F403A
square
#3A403E #3B3A40 #403A3C #3F403A
split-complementary
#3A403E #403A3F #403B3A
monochromatic
#0F1010 #1D201F #3A403E #57605D #74807C

Accessibility & contrast

On white

10.59
#3A403E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3A403E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A403E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A403E#FFFFFF#000000##FFFFFF
##3A403E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403F3E
Deuteranopia (green-blind)
#3E3E3E
Tritanopia (blue-blind)
#39403F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a403e;
/* rgb */ color: rgb(58, 64, 62);
/* oklch */ color: oklch(36.5% 0.009 173.9);
Tailwind
colors: {
  custom: {
    50: '#707473',
    500: '#3a403e',
    950: '#000000',
  },
}
SCSS
$custom: #3a403e;
$custom-light: #707473;
$custom-dark: #000000;
JSON
{
  "hex": "#3a403e",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 62
  },
  "hsl": {
    "h": 160,
    "s": 4.918,
    "l": 23.922
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.00869,
    "h": 173.9
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#3A403E
secondary
#6F676A
accent
#7A8BAE
background
#F6F7F6
surface
#ECEDEC
border
#C7C8C7
text
#070808
muted
#7A7B7B

Preview Lab

Preview with #3A403E

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

Preview Lab → · Contrast checker → · Palette generator →

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