#3A3840#3A3840

#3A3840 is a dark, near-neutral grey. Relative luminance 0.041; OKLCH L 34.6% C 0.014 H 297.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#3A3840
RGBrgb(58, 56, 64)
HSLhsl(255, 7%, 24%)
HSVhsv(255, 13%, 25%)
CMYKcmyk(9.4%, 12.5%, 0%, 74.9%)
CIE-LABlab(23.99, 2.75, -4.64)
CIE-LCHlch(23.99, 5.39, 300.62°)
OKLaboklab(34.58% 0.0064 -0.0125)
OKLCHoklch(34.58% 0.014 297.1)
XYZxyz(4.0843, 4.0980, 5.4253)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3840 #3E4038
analogous
#383A40 #3A3840 #3E3840
triadic
#3A3840 #403A38 #38403A
tetradic
#3A3840 #40383A #3E4038 #38403E
square
#3A3840 #40383A #3E4038 #38403E
split-complementary
#3A3840 #403E38 #3A4038
monochromatic
#0F0E10 #1C1B1F #3A3840 #585561 #757181

Accessibility & contrast

On white

11.54
#3A3840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3A3840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3840
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3840#FFFFFF#000000##FFFFFF
##3A38401.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373940
Deuteranopia (green-blind)
#373940
Tritanopia (blue-blind)
#39393B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a3840;
/* rgb */ color: rgb(58, 56, 64);
/* oklch */ color: oklch(34.6% 0.014 297.1);
Tailwind
colors: {
  custom: {
    50: '#706e74',
    500: '#3a3840',
    950: '#000000',
  },
}
SCSS
$custom: #3a3840;
$custom-light: #706e74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3840",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 255,
    "s": 6.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34579,
    "c": 0.01401,
    "h": 297.1
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#3A3840
secondary
#6C6F65
accent
#B078A2
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070708
muted
#7A7A7B

Preview Lab

Preview with #3A3840

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

Preview Lab → · Contrast checker → · Palette generator →

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