#404656#404656

#404656 is a dark, muted blue. Relative luminance 0.061; OKLCH L 39.5% C 0.028 H 268.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#404656
RGBrgb(64, 70, 86)
HSLhsl(224, 15%, 29%)
HSVhsv(224, 26%, 34%)
CMYKcmyk(25.6%, 18.6%, 0%, 66.3%)
CIE-LABlab(29.77, 1.63, -10.33)
CIE-LCHlch(29.77, 10.46, 278.97°)
OKLaboklab(39.51% -0.0005 -0.0282)
OKLCHoklch(39.51% 0.028 268.9)
XYZxyz(5.9838, 6.1420, 9.6726)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404656 #565040
analogous
#405156 #404656 #454056
triadic
#404656 #564046 #465640
tetradic
#404656 #564051 #565040 #405645
square
#404656 #564051 #565040 #405645
split-complementary
#404656 #564540 #515640
monochromatic
#0D0E12 #262933 #404656 #5A6379 #77809A

Accessibility & contrast

On white

9.42
#404656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#404656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404656
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404656#FFFFFF#000000##FFFFFF
##4046561.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414757
Deuteranopia (green-blind)
#3F4556
Tritanopia (blue-blind)
#3B494B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404656;
/* rgb */ color: rgb(64, 70, 86);
/* oklch */ color: oklch(39.5% 0.028 268.9);
Tailwind
colors: {
  custom: {
    50: '#757985',
    500: '#404656',
    950: '#000000',
  },
}
SCSS
$custom: #404656;
$custom-light: #757985;
$custom-dark: #000000;
JSON
{
  "hex": "#404656",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 86
  },
  "hsl": {
    "h": 223.636,
    "s": 14.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39509,
    "c": 0.02824,
    "h": 268.9
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#404656
secondary
#857F6C
accent
#A470B7
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#08090B
muted
#7B7B7C

Preview Lab

Preview with #404656

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

Preview Lab → · Contrast checker → · Palette generator →

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