#404148#404148

#404148 is a dark, near-neutral grey. Relative luminance 0.053; OKLCH L 37.7% C 0.012 H 279.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#404148
RGBrgb(64, 65, 72)
HSLhsl(233, 6%, 27%)
HSVhsv(233, 11%, 28%)
CMYKcmyk(11.1%, 9.7%, 0%, 71.8%)
CIE-LABlab(27.68, 1.23, -4.38)
CIE-LCHlch(27.68, 4.55, 285.68°)
OKLaboklab(37.7% 0.0019 -0.0118)
OKLCHoklch(37.7% 0.012 279.4)
XYZxyz(5.1741, 5.3384, 6.8875)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404148 #484740
analogous
#404548 #404148 #434048
triadic
#404148 #484041 #414840
tetradic
#404148 #484045 #484740 #404843
square
#404148 #484045 #484740 #404843
split-complementary
#404148 #484340 #454840
monochromatic
#0E0F10 #232428 #404148 #5D5E68 #7A7C89

Accessibility & contrast

On white

10.16
#404148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#404148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404148
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404148#FFFFFF#000000##FFFFFF
##4041481.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4248
Deuteranopia (green-blind)
#3F4148
Tritanopia (blue-blind)
#3E4243
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #404148;
/* rgb */ color: rgb(64, 65, 72);
/* oklch */ color: oklch(37.7% 0.012 279.4);
Tailwind
colors: {
  custom: {
    50: '#74757b',
    500: '#404148',
    950: '#000000',
  },
}
SCSS
$custom: #404148;
$custom-light: #74757b;
$custom-dark: #000000;
JSON
{
  "hex": "#404148",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 72
  },
  "hsl": {
    "h": 232.5,
    "s": 5.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37698,
    "c": 0.01194,
    "h": 279.4
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#404148
secondary
#77756D
accent
#A879AF
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #404148

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

Preview Lab → · Contrast checker → · Palette generator →

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