#404A5A#404A5A

#404A5A is a dark, muted blue. Relative luminance 0.067; OKLCH L 40.7% C 0.030 H 259.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#404A5A
RGBrgb(64, 74, 90)
HSLhsl(217, 17%, 30%)
HSVhsv(217, 29%, 35%)
CMYKcmyk(28.9%, 17.8%, 0%, 64.7%)
CIE-LABlab(31.17, 0.17, -10.76)
CIE-LCHlch(31.17, 10.76, 270.89°)
OKLaboklab(40.66% -0.0053 -0.0295)
OKLCHoklch(40.66% 0.03 259.8)
XYZxyz(6.4081, 6.7255, 10.6314)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A5A #5A5040
analogous
#40575A #404A5A #43405A
triadic
#404A5A #5A404A #4A5A40
tetradic
#404A5A #5A4057 #5A5040 #405A43
square
#404A5A #5A4057 #5A5040 #405A43
split-complementary
#404A5A #5A4340 #575A40
monochromatic
#0D0F12 #272D36 #404A5A #59677E #76869E

Accessibility & contrast

On white

8.95
#404A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#404A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A5A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A5A#FFFFFF#000000##FFFFFF
##404A5A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5B
Deuteranopia (green-blind)
#42485A
Tritanopia (blue-blind)
#394D4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404a5a;
/* rgb */ color: rgb(64, 74, 90);
/* oklch */ color: oklch(40.7% 0.030 259.8);
Tailwind
colors: {
  custom: {
    50: '#757c88',
    500: '#404a5a',
    950: '#000000',
  },
}
SCSS
$custom: #404a5a;
$custom-light: #757c88;
$custom-dark: #000000;
JSON
{
  "hex": "#404a5a",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 90
  },
  "hsl": {
    "h": 216.923,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.02996,
    "h": 259.8
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#404A5A
secondary
#897E6C
accent
#9D6EBA
background
#F7F7F8
surface
#EDEEEF
border
#C8C9CA
text
#08090B
muted
#7B7B7C

Preview Lab

Preview with #404A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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