#404C6E#404C6E

#404C6E is a dark, muted blue. Relative luminance 0.074; OKLCH L 42.1% C 0.059 H 268.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#404C6E
RGBrgb(64, 76, 110)
HSLhsl(224, 26%, 34%)
HSVhsv(224, 42%, 43%)
CMYKcmyk(41.8%, 30.9%, 0%, 56.9%)
CIE-LABlab(32.67, 4.81, -21.14)
CIE-LCHlch(32.67, 21.68, 282.81°)
OKLaboklab(42.12% -0.0011 -0.059)
OKLCHoklch(42.12% 0.059 268.9)
XYZxyz(7.5124, 7.3843, 15.7783)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C6E #6E6240
analogous
#40636E #404C6E #4B406E
triadic
#404C6E #6E404C #4C6E40
tetradic
#404C6E #6E4063 #6E6240 #406E4B
square
#404C6E #6E4063 #6E6240 #406E4B
split-complementary
#404C6E #6E4B40 #636E40
monochromatic
#131721 #293147 #404C6E #576795 #7887B0

Accessibility & contrast

On white

8.48
#404C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#404C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404C6E
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C6E#FFFFFF#000000##FFFFFF
##404C6E1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F6F
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#315358
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #404c6e;
/* rgb */ color: rgb(64, 76, 110);
/* oklch */ color: oklch(42.1% 0.059 268.9);
Tailwind
colors: {
  custom: {
    50: '#777d97',
    500: '#404c6e',
    950: '#000000',
  },
}
SCSS
$custom: #404c6e;
$custom-light: #777d97;
$custom-dark: #000000;
JSON
{
  "hex": "#404c6e",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 110
  },
  "hsl": {
    "h": 224.348,
    "s": 26.437,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.059,
    "h": 268.9
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#404C6E
secondary
#9B906E
accent
#AA65C3
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#09090D
muted
#7B7B7E

Preview Lab

Preview with #404C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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