#404056#404056

#404056 is a dark, muted blue. Relative luminance 0.054; OKLCH L 38.1% C 0.037 H 284.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#404056
RGBrgb(64, 64, 86)
HSLhsl(240, 15%, 29%)
HSVhsv(240, 26%, 34%)
CMYKcmyk(25.6%, 25.6%, 0%, 66.3%)
CIE-LABlab(27.92, 5.55, -13.14)
CIE-LCHlch(27.92, 14.27, 292.90°)
OKLaboklab(38.07% 0.0093 -0.0361)
OKLCHoklch(38.07% 0.037 284.5)
XYZxyz(5.6270, 5.4286, 9.5536)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404056 #565640
analogous
#404B56 #404056 #4B4056
triadic
#404056 #564040 #405640
tetradic
#404056 #56404B #565640 #40564B
square
#404056 #56404B #565640 #40564B
split-complementary
#404056 #564B40 #4B5640
monochromatic
#0D0D12 #262633 #404056 #5A5A79 #77779A

Accessibility & contrast

On white

10.07
#404056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#404056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404056
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404056#FFFFFF#000000##FFFFFF
##4040561.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4357
Deuteranopia (green-blind)
#3A4155
Tritanopia (blue-blind)
#3B4448
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #404056;
/* rgb */ color: rgb(64, 64, 86);
/* oklch */ color: oklch(38.1% 0.037 284.5);
Tailwind
colors: {
  custom: {
    50: '#757485',
    500: '#404056',
    950: '#000000',
  },
}
SCSS
$custom: #404056;
$custom-light: #757485;
$custom-dark: #000000;
JSON
{
  "hex": "#404056",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 86
  },
  "hsl": {
    "h": 240,
    "s": 14.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38071,
    "c": 0.03731,
    "h": 284.5
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#404056
secondary
#85856C
accent
#B770B7
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#08080B
muted
#7B7B7C

Preview Lab

Preview with #404056

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

Preview Lab → · Contrast checker → · Palette generator →

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