#3A4038#3A4038

#3A4038 is a dark, near-neutral grey. Relative luminance 0.049; OKLCH L 36.3% C 0.016 H 137.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3A4038
RGBrgb(58, 64, 56)
HSLhsl(105, 7%, 24%)
HSVhsv(105, 13%, 25%)
CMYKcmyk(9.4%, 0%, 12.5%, 74.9%)
CIE-LABlab(26.31, -4.31, 4.05)
CIE-LCHlch(26.31, 5.92, 136.80°)
OKLaboklab(36.32% -0.0116 0.0105)
OKLCHoklch(36.32% 0.016 137.8)
XYZxyz(4.2920, 4.8518, 4.4510)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4038 #3E3840
analogous
#3E4038 #3A4038 #38403A
triadic
#3A4038 #383A40 #40383A
tetradic
#3A4038 #383E40 #3E3840 #403A38
square
#3A4038 #383E40 #3E3840 #403A38
split-complementary
#3A4038 #3A3840 #40383E
monochromatic
#0F100E #1C1F1B #3A4038 #586155 #758171

Accessibility & contrast

On white

10.66
#3A4038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4038
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4038#FFFFFF#000000##FFFFFF
##3A40381.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F38
Deuteranopia (green-blind)
#403E38
Tritanopia (blue-blind)
#3A3F3E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a4038;
/* rgb */ color: rgb(58, 64, 56);
/* oklch */ color: oklch(36.3% 0.016 137.8);
Tailwind
colors: {
  custom: {
    50: '#70746e',
    500: '#3a4038',
    950: '#000000',
  },
}
SCSS
$custom: #3a4038;
$custom-light: #70746e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4038",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 105,
    "s": 6.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36315,
    "c": 0.01569,
    "h": 137.8
  },
  "luminance": 0.04852
}

Semantic roles & 50–950 ramp

primary
#3A4038
secondary
#6C656F
accent
#78B0A2
background
#F6F7F6
surface
#ECEDEB
border
#C7C8C6
text
#070807
muted
#7A7B7A

Preview Lab

Preview with #3A4038

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

Preview Lab → · Contrast checker → · Palette generator →

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