#404C6A#404C6A

#404C6A is a dark, muted blue. Relative luminance 0.073; OKLCH L 41.9% C 0.053 H 267.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#404C6A
RGBrgb(64, 76, 106)
HSLhsl(223, 25%, 33%)
HSVhsv(223, 40%, 42%)
CMYKcmyk(39.6%, 28.3%, 0%, 58.4%)
CIE-LABlab(32.48, 3.57, -18.92)
CIE-LCHlch(32.48, 19.25, 280.69°)
OKLaboklab(41.91% -0.0024 -0.0526)
OKLCHoklch(41.91% 0.053 267.3)
XYZxyz(7.2995, 7.2991, 14.6571)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C6A #6A5E40
analogous
#40616A #404C6A #49406A
triadic
#404C6A #6A404C #4C6A40
tetradic
#404C6A #6A4061 #6A5E40 #406A49
square
#404C6A #6A4061 #6A5E40 #406A49
split-complementary
#404C6A #6A4940 #616A40
monochromatic
#12151E #293144 #404C6A #576790 #7787AD

Accessibility & contrast

On white

8.54
#404C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#404C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404C6A
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C6A#FFFFFF#000000##FFFFFF
##404C6A1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424E6B
Deuteranopia (green-blind)
#3E4B69
Tritanopia (blue-blind)
#335256
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #404c6a;
/* rgb */ color: rgb(64, 76, 106);
/* oklch */ color: oklch(41.9% 0.053 267.3);
Tailwind
colors: {
  custom: {
    50: '#767d94',
    500: '#404c6a',
    950: '#000000',
  },
}
SCSS
$custom: #404c6a;
$custom-light: #767d94;
$custom-dark: #000000;
JSON
{
  "hex": "#404c6a",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 106
  },
  "hsl": {
    "h": 222.857,
    "s": 24.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41911,
    "c": 0.05266,
    "h": 267.3
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#404C6A
secondary
#988C6D
accent
#A767C1
background
#F7F7F9
surface
#EDEEF1
border
#C8C9CB
text
#08090D
muted
#7B7B7E

Preview Lab

Preview with #404C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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