#404141#404141

#404141 is a dark, near-neutral grey. Relative luminance 0.053; OKLCH L 37.4% C 0.001 H 197.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#404141
RGBrgb(64, 65, 65)
HSLhsl(180, 1%, 25%)
HSVhsv(180, 2%, 25%)
CMYKcmyk(1.5%, 0%, 0%, 74.5%)
CIE-LABlab(27.44, -0.42, -0.15)
CIE-LCHlch(27.44, 0.44, 199.32°)
OKLaboklab(37.43% -0.0013 -0.0004)
OKLCHoklch(37.43% 0.001 197.2)
XYZxyz(4.9586, 5.2522, 5.7525)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404141 #414040
analogous
#404140 #404141 #404041
triadic
#404141 #414041 #414140
tetradic
#404141 #404041 #414040 #404140
square
#404141 #404041 #414040 #404140
split-complementary
#404141 #414040 #414040
monochromatic
#0F0F0F #222222 #404141 #5E6060 #7D7F7F

Accessibility & contrast

On white

10.24
#404141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#404141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404141
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404141#FFFFFF#000000##FFFFFF
##4041411.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414141
Deuteranopia (green-blind)
#414141
Tritanopia (blue-blind)
#404141
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #404141;
/* rgb */ color: rgb(64, 65, 65);
/* oklch */ color: oklch(37.4% 0.001 197.2);
Tailwind
colors: {
  custom: {
    50: '#747575',
    500: '#404141',
    950: '#000000',
  },
}
SCSS
$custom: #404141;
$custom-light: #747575;
$custom-dark: #000000;
JSON
{
  "hex": "#404141",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 65
  },
  "hsl": {
    "h": 180,
    "s": 0.775,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.00135,
    "h": 197.2
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#404141
secondary
#6F6E6E
accent
#7E7EAA
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #404141

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

Preview Lab → · Contrast checker → · Palette generator →

#404141 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva