#3A3A42#3A3A42

#3A3A42 is a dark, near-neutral grey. Relative luminance 0.043; OKLCH L 35.2% C 0.014 H 285.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3A3A42
RGBrgb(58, 58, 66)
HSLhsl(240, 6%, 24%)
HSVhsv(240, 12%, 26%)
CMYKcmyk(12.1%, 12.1%, 0%, 74.1%)
CIE-LABlab(24.70, 1.92, -4.92)
CIE-LCHlch(24.70, 5.28, 291.27°)
OKLaboklab(35.16% 0.0037 -0.0133)
OKLCHoklch(35.16% 0.014 285.7)
XYZxyz(4.2411, 4.3190, 5.7634)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3A42 #42423A
analogous
#3A3E42 #3A3A42 #3E3A42
triadic
#3A3A42 #423A3A #3A423A
tetradic
#3A3A42 #423A3E #42423A #3A423E
square
#3A3A42 #423A3E #42423A #3A423E
split-complementary
#3A3A42 #423E3A #3E423A
monochromatic
#0E0E10 #1D1D21 #3A3A42 #575763 #737383

Accessibility & contrast

On white

11.27
#3A3A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3A3A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3A42
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3A42#FFFFFF#000000##FFFFFF
##3A3A421.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B42
Deuteranopia (green-blind)
#383A42
Tritanopia (blue-blind)
#383B3D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3a3a42;
/* rgb */ color: rgb(58, 58, 66);
/* oklch */ color: oklch(35.2% 0.014 285.7);
Tailwind
colors: {
  custom: {
    50: '#707076',
    500: '#3a3a42',
    950: '#000000',
  },
}
SCSS
$custom: #3a3a42;
$custom-light: #707076;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3a42",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 240,
    "s": 6.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35156,
    "c": 0.01377,
    "h": 285.7
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#3A3A42
secondary
#717167
accent
#B078B0
background
#F6F6F7
surface
#ECECED
border
#C7C7C8
text
#070708
muted
#7A7A7B

Preview Lab

Preview with #3A3A42

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

Preview Lab → · Contrast checker → · Palette generator →

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