#3E4042#3E4042

#3E4042 is a dark, near-neutral grey. Relative luminance 0.051; OKLCH L 37.0% C 0.004 H 247.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3E4042
RGBrgb(62, 64, 66)
HSLhsl(210, 3%, 25%)
HSVhsv(210, 6%, 26%)
CMYKcmyk(6.1%, 3%, 0%, 74.1%)
CIE-LABlab(26.97, -0.37, -1.51)
CIE-LCHlch(26.97, 1.56, 256.11°)
OKLaboklab(37.03% -0.0016 -0.004)
OKLCHoklch(37.03% 0.004 247.9)
XYZxyz(4.8032, 5.0842, 5.8815)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4042 #42403E
analogous
#3E4242 #3E4042 #3E3E42
triadic
#3E4042 #423E40 #40423E
tetradic
#3E4042 #423E42 #42403E #3E423E
square
#3E4042 #423E42 #42403E #3E423E
split-complementary
#3E4042 #423E3E #42423E
monochromatic
#0F0F10 #202122 #3E4042 #5C5F62 #797D81

Accessibility & contrast

On white

10.41
#3E4042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3E4042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4042
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4042#FFFFFF#000000##FFFFFF
##3E40421.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4042
Deuteranopia (green-blind)
#3F4042
Tritanopia (blue-blind)
#3D4041
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e4042;
/* rgb */ color: rgb(62, 64, 66);
/* oklch */ color: oklch(37.0% 0.004 247.9);
Tailwind
colors: {
  custom: {
    50: '#737476',
    500: '#3e4042',
    950: '#000000',
  },
}
SCSS
$custom: #3e4042;
$custom-light: #737476;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4042",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 210,
    "s": 3.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37031,
    "c": 0.00436,
    "h": 247.9
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#3E4042
secondary
#706E6B
accent
#947BAC
background
#F6F7F7
surface
#ECEDED
border
#C7C8C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #3E4042

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

Preview Lab → · Contrast checker → · Palette generator →

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