#40474E#40474E

#40474E is a dark, near-neutral cyan. Relative luminance 0.061; OKLCH L 39.4% C 0.015 H 248.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#40474E
RGBrgb(64, 71, 78)
HSLhsl(210, 10%, 28%)
HSVhsv(210, 18%, 31%)
CMYKcmyk(17.9%, 9%, 0%, 69.4%)
CIE-LABlab(29.78, -1.13, -5.15)
CIE-LCHlch(29.78, 5.27, 257.65°)
OKLaboklab(39.42% -0.0056 -0.0139)
OKLCHoklch(39.42% 0.015 248.2)
XYZxyz(5.7424, 6.1464, 8.0901)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40474E #4E4740
analogous
#404E4E #40474E #40404E
triadic
#40474E #4E4047 #474E40
tetradic
#40474E #4E404E #4E4740 #404E40
square
#40474E #4E404E #4E4740 #404E40
split-complementary
#40474E #4E4040 #4E4E40
monochromatic
#0E0F11 #24282C #40474E #5C6670 #788490

Accessibility & contrast

On white

9.42
#40474E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#40474E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40474E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40474E#FFFFFF#000000##FFFFFF
##40474E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474E
Deuteranopia (green-blind)
#43454E
Tritanopia (blue-blind)
#3C4949
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #40474e;
/* rgb */ color: rgb(64, 71, 78);
/* oklch */ color: oklch(39.4% 0.015 248.2);
Tailwind
colors: {
  custom: {
    50: '#757a7f',
    500: '#40474e',
    950: '#000000',
  },
}
SCSS
$custom: #40474e;
$custom-light: #757a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#40474e",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 210,
    "s": 9.859,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39418,
    "c": 0.015,
    "h": 248.2
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#40474E
secondary
#7D756D
accent
#9475B3
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#08090A
muted
#7B7B7C

Preview Lab

Preview with #40474E

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

Preview Lab → · Contrast checker → · Palette generator →

#40474E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva