#404657#404657

#404657 is a dark, muted blue. Relative luminance 0.062; OKLCH L 39.6% C 0.030 H 269.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#404657
RGBrgb(64, 70, 87)
HSLhsl(224, 15%, 30%)
HSVhsv(224, 26%, 34%)
CMYKcmyk(26.4%, 19.5%, 0%, 65.9%)
CIE-LABlab(29.81, 1.91, -10.91)
CIE-LCHlch(29.81, 11.08, 279.91°)
OKLaboklab(39.55% -0.0001 -0.0299)
OKLCHoklch(39.55% 0.03 269.8)
XYZxyz(6.0244, 6.1583, 9.8862)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404657 #575140
analogous
#405257 #404657 #464057
triadic
#404657 #574046 #465740
tetradic
#404657 #574052 #575140 #405746
square
#404657 #574052 #575140 #405746
split-complementary
#404657 #574640 #525740
monochromatic
#0D0E12 #262A34 #404657 #5A627A #77809B

Accessibility & contrast

On white

9.41
#404657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404657
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404657#FFFFFF#000000##FFFFFF
##4046571.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414758
Deuteranopia (green-blind)
#3F4557
Tritanopia (blue-blind)
#3A494C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404657;
/* rgb */ color: rgb(64, 70, 87);
/* oklch */ color: oklch(39.6% 0.030 269.8);
Tailwind
colors: {
  custom: {
    50: '#757986',
    500: '#404657',
    950: '#000000',
  },
}
SCSS
$custom: #404657;
$custom-light: #757986;
$custom-dark: #000000;
JSON
{
  "hex": "#404657",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 87
  },
  "hsl": {
    "h": 224.348,
    "s": 15.232,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39554,
    "c": 0.02987,
    "h": 269.8
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#404657
secondary
#86806C
accent
#A570B8
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#08090B
muted
#7B7B7C

Preview Lab

Preview with #404657

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

Preview Lab → · Contrast checker → · Palette generator →

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