#404C5E#404C5E

#404C5E is a dark, muted blue. Relative luminance 0.071; OKLCH L 41.3% C 0.034 H 258.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#404C5E
RGBrgb(64, 76, 94)
HSLhsl(216, 19%, 31%)
HSVhsv(216, 32%, 37%)
CMYKcmyk(31.9%, 19.1%, 0%, 63.1%)
CIE-LABlab(31.96, 0.02, -12.12)
CIE-LCHlch(31.96, 12.12, 270.09°)
OKLaboklab(41.33% -0.0069 -0.0333)
OKLCHoklch(41.33% 0.034 258.4)
XYZxyz(6.7186, 7.0668, 11.5975)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C5E #5E5240
analogous
#405B5E #404C5E #43405E
triadic
#404C5E #5E404C #4C5E40
tetradic
#404C5E #5E405B #5E5240 #405E43
square
#404C5E #5E405B #5E5240 #405E43
split-complementary
#404C5E #5E4340 #5B5E40
monochromatic
#0E1115 #272F3A #404C5E #596982 #7688A2

Accessibility & contrast

On white

8.70
#404C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#404C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404C5E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C5E#FFFFFF#000000##FFFFFF
##404C5E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#434A5E
Tritanopia (blue-blind)
#375052
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404c5e;
/* rgb */ color: rgb(64, 76, 94);
/* oklch */ color: oklch(41.3% 0.034 258.4);
Tailwind
colors: {
  custom: {
    50: '#757e8b',
    500: '#404c5e',
    950: '#000000',
  },
}
SCSS
$custom: #404c5e;
$custom-light: #757e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#404c5e",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 94
  },
  "hsl": {
    "h": 216,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.03399,
    "h": 258.4
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#404C5E
secondary
#8D806C
accent
#9C6CBC
background
#F7F7F8
surface
#EDEEF0
border
#C8C9CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #404C5E

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

Preview Lab → · Contrast checker → · Palette generator →

#404C5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva