#404E5E#404E5E

#404E5E is a dark, muted cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.032 H 252.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#404E5E
RGBrgb(64, 78, 94)
HSLhsl(212, 19%, 31%)
HSVhsv(212, 32%, 37%)
CMYKcmyk(31.9%, 17%, 0%, 63.1%)
CIE-LABlab(32.58, -1.25, -11.17)
CIE-LCHlch(32.58, 11.24, 263.62°)
OKLaboklab(41.82% -0.01 -0.0306)
OKLCHoklch(41.82% 0.032 252)
XYZxyz(6.8585, 7.3466, 11.6442)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E5E #5E5040
analogous
#405D5E #404E5E #41405E
triadic
#404E5E #5E404E #4E5E40
tetradic
#404E5E #5E405D #5E5040 #405E41
square
#404E5E #5E405D #5E5040 #405E41
split-complementary
#404E5E #5E4140 #5D5E40
monochromatic
#0E1215 #27303A #404E5E #596C82 #768BA2

Accessibility & contrast

On white

8.50
#404E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#404E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E5E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E5E#FFFFFF#000000##FFFFFF
##404E5E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5F
Deuteranopia (green-blind)
#454B5E
Tritanopia (blue-blind)
#375253
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #404e5e;
/* rgb */ color: rgb(64, 78, 94);
/* oklch */ color: oklch(41.8% 0.032 252.0);
Tailwind
colors: {
  custom: {
    50: '#757f8b',
    500: '#404e5e',
    950: '#000000',
  },
}
SCSS
$custom: #404e5e;
$custom-light: #757f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#404e5e",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 94
  },
  "hsl": {
    "h": 212,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.03222,
    "h": 252
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#404E5E
secondary
#8D7E6C
accent
#976CBC
background
#F7F7F8
surface
#EDEEF0
border
#C8C9CB
text
#080A0C
muted
#7B7C7D

Preview Lab

Preview with #404E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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