#404F5F#404F5F

#404F5F is a dark, muted cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.033 H 250.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#404F5F
RGBrgb(64, 79, 95)
HSLhsl(211, 19%, 31%)
HSVhsv(211, 33%, 37%)
CMYKcmyk(32.6%, 16.8%, 0%, 62.7%)
CIE-LABlab(32.94, -1.60, -11.27)
CIE-LCHlch(32.94, 11.38, 261.94°)
OKLaboklab(42.11% -0.0111 -0.0309)
OKLCHoklch(42.11% 0.033 250.3)
XYZxyz(6.9753, 7.5079, 11.9059)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F5F #5F5040
analogous
#405E5F #404F5F #40405F
triadic
#404F5F #5F404F #4F5F40
tetradic
#404F5F #5F405E #5F5040 #405F40
square
#404F5F #5F405E #5F5040 #405F40
split-complementary
#404F5F #5F4040 #5E5F40
monochromatic
#0F1216 #27313A #404F5F #596D84 #768CA3

Accessibility & contrast

On white

8.39
#404F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#404F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F5F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F5F#FFFFFF#000000##FFFFFF
##404F5F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F60
Deuteranopia (green-blind)
#454C5F
Tritanopia (blue-blind)
#375354
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #404f5f;
/* rgb */ color: rgb(64, 79, 95);
/* oklch */ color: oklch(42.1% 0.033 250.3);
Tailwind
colors: {
  custom: {
    50: '#75808c',
    500: '#404f5f',
    950: '#000000',
  },
}
SCSS
$custom: #404f5f;
$custom-light: #75808c;
$custom-dark: #000000;
JSON
{
  "hex": "#404f5f",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 95
  },
  "hsl": {
    "h": 210.968,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.03285,
    "h": 250.3
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#404F5F
secondary
#8F7E6C
accent
#956CBC
background
#F7F7F8
surface
#EDEEF0
border
#C8C9CB
text
#080A0C
muted
#7B7C7D

Preview Lab

Preview with #404F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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