#404754#404754

#404754 is a dark, muted blue. Relative luminance 0.062; OKLCH L 39.7% C 0.024 H 262.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#404754
RGBrgb(64, 71, 84)
HSLhsl(219, 14%, 29%)
HSVhsv(219, 24%, 33%)
CMYKcmyk(23.8%, 15.5%, 0%, 67.1%)
CIE-LABlab(30.00, 0.44, -8.69)
CIE-LCHlch(30.00, 8.70, 272.92°)
OKLaboklab(39.67% -0.003 -0.0237)
OKLCHoklch(39.67% 0.024 262.8)
XYZxyz(5.9674, 6.2364, 9.2751)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404754 #544D40
analogous
#405154 #404754 #434054
triadic
#404754 #544047 #475440
tetradic
#404754 #544051 #544D40 #405443
square
#404754 #544051 #544D40 #405443
split-complementary
#404754 #544340 #515440
monochromatic
#0D0F11 #262A31 #404754 #5A6477 #778297

Accessibility & contrast

On white

9.34
#404754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#404754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404754
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404754#FFFFFF#000000##FFFFFF
##4047541.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434855
Deuteranopia (green-blind)
#414654
Tritanopia (blue-blind)
#3B4A4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404754;
/* rgb */ color: rgb(64, 71, 84);
/* oklch */ color: oklch(39.7% 0.024 262.8);
Tailwind
colors: {
  custom: {
    50: '#757a84',
    500: '#404754',
    950: '#000000',
  },
}
SCSS
$custom: #404754;
$custom-light: #757a84;
$custom-dark: #000000;
JSON
{
  "hex": "#404754",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 84
  },
  "hsl": {
    "h": 219,
    "s": 13.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.02386,
    "h": 262.8
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#404754
secondary
#837B6D
accent
#9E71B6
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#08090A
muted
#7B7B7C

Preview Lab

Preview with #404754

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

Preview Lab → · Contrast checker → · Palette generator →

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