#404658#404658

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

Color values

HEX#404658
RGBrgb(64, 70, 88)
HSLhsl(225, 16%, 30%)
HSVhsv(225, 27%, 35%)
CMYKcmyk(27.3%, 20.5%, 0%, 65.5%)
CIE-LABlab(29.85, 2.18, -11.49)
CIE-LCHlch(29.85, 11.70, 280.75°)
OKLaboklab(39.6% 0.0003 -0.0315)
OKLCHoklch(39.6% 0.032 270.5)
XYZxyz(6.0655, 6.1747, 10.1029)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404658 #585240
analogous
#405258 #404658 #464058
triadic
#404658 #584046 #465840
tetradic
#404658 #584052 #585240 #405846
square
#404658 #584052 #585240 #405846
split-complementary
#404658 #584640 #525840
monochromatic
#0D0E12 #262A35 #404658 #5A627B #77809C

Accessibility & contrast

On white

9.40
#404658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#404658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404658
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404658#FFFFFF#000000##FFFFFF
##4046581.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404658;
/* rgb */ color: rgb(64, 70, 88);
/* oklch */ color: oklch(39.6% 0.032 270.5);
Tailwind
colors: {
  custom: {
    50: '#757987',
    500: '#404658',
    950: '#000000',
  },
}
SCSS
$custom: #404658;
$custom-light: #757987;
$custom-dark: #000000;
JSON
{
  "hex": "#404658",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 88
  },
  "hsl": {
    "h": 225,
    "s": 15.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.396,
    "c": 0.03151,
    "h": 270.5
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#404658
secondary
#87816C
accent
#A66FB9
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#08090B
muted
#7B7B7C

Preview Lab

Preview with #404658

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

Preview Lab → · Contrast checker → · Palette generator →

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