#40463E#40463E

#40463E is a dark, near-neutral grey. Relative luminance 0.058; OKLCH L 38.6% C 0.015 H 137.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#40463E
RGBrgb(64, 70, 62)
HSLhsl(105, 6%, 26%)
HSVhsv(105, 11%, 27%)
CMYKcmyk(8.6%, 0%, 11.4%, 72.5%)
CIE-LABlab(28.95, -4.25, 3.99)
CIE-LCHlch(28.95, 5.83, 136.84°)
OKLaboklab(38.59% -0.0115 0.0104)
OKLCHoklch(38.59% 0.015 137.8)
XYZxyz(5.1739, 5.8181, 5.4069)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40463E #443E46
analogous
#44463E #40463E #3E4640
triadic
#40463E #3E4046 #463E40
tetradic
#40463E #3E4446 #443E46 #46403E
square
#40463E #3E4446 #443E46 #46403E
split-complementary
#40463E #403E46 #463E44
monochromatic
#0F100E #222621 #40463E #5E665B #7B8777

Accessibility & contrast

On white

9.71
#40463E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#40463E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40463E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40463E#FFFFFF#000000##FFFFFF
##40463E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47453E
Deuteranopia (green-blind)
#46443E
Tritanopia (blue-blind)
#404544
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #40463e;
/* rgb */ color: rgb(64, 70, 62);
/* oklch */ color: oklch(38.6% 0.015 137.8);
Tailwind
colors: {
  custom: {
    50: '#747973',
    500: '#40463e',
    950: '#000000',
  },
}
SCSS
$custom: #40463e;
$custom-light: #747973;
$custom-dark: #000000;
JSON
{
  "hex": "#40463e",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 62
  },
  "hsl": {
    "h": 105,
    "s": 6.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38593,
    "c": 0.01546,
    "h": 137.8
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#40463E
secondary
#726B75
accent
#79AFA2
background
#F7F7F6
surface
#EDEDEC
border
#C8C8C7
text
#080908
muted
#7B7B7B

Preview Lab

Preview with #40463E

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

Preview Lab → · Contrast checker → · Palette generator →

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