#404652#404652

#404652 is a dark, muted blue. Relative luminance 0.061; OKLCH L 39.3% C 0.022 H 264.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#404652
RGBrgb(64, 70, 82)
HSLhsl(220, 12%, 29%)
HSVhsv(220, 22%, 32%)
CMYKcmyk(22%, 14.6%, 0%, 67.8%)
CIE-LABlab(29.61, 0.55, -7.98)
CIE-LCHlch(29.61, 8.00, 273.96°)
OKLaboklab(39.34% -0.0022 -0.0217)
OKLCHoklch(39.34% 0.022 264.3)
XYZxyz(5.8271, 6.0794, 8.8474)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404652 #524C40
analogous
#404F52 #404652 #434052
triadic
#404652 #524046 #465240
tetradic
#404652 #52404F #524C40 #405243
square
#404652 #52404F #524C40 #405243
split-complementary
#404652 #524340 #4F5240
monochromatic
#0D0F11 #252930 #404652 #5B6374 #778195

Accessibility & contrast

On white

9.48
#404652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#404652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404652
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404652#FFFFFF#000000##FFFFFF
##4046521.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#414552
Tritanopia (blue-blind)
#3C484A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404652;
/* rgb */ color: rgb(64, 70, 82);
/* oklch */ color: oklch(39.3% 0.022 264.3);
Tailwind
colors: {
  custom: {
    50: '#757982',
    500: '#404652',
    950: '#000000',
  },
}
SCSS
$custom: #404652;
$custom-light: #757982;
$custom-dark: #000000;
JSON
{
  "hex": "#404652",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 82
  },
  "hsl": {
    "h": 220,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39335,
    "c": 0.02183,
    "h": 264.3
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#404652
secondary
#817A6D
accent
#9F73B5
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#08090A
muted
#7B7B7C

Preview Lab

Preview with #404652

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

Preview Lab → · Contrast checker → · Palette generator →

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