#40463F#40463F

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

Color values

HEX#40463F
RGBrgb(64, 70, 63)
HSLhsl(111, 5%, 26%)
HSVhsv(111, 10%, 27%)
CMYKcmyk(8.6%, 0%, 10%, 72.5%)
CIE-LABlab(28.98, -4.04, 3.38)
CIE-LCHlch(28.98, 5.26, 140.06°)
OKLaboklab(38.63% -0.011 0.0088)
OKLCHoklch(38.63% 0.014 141.2)
XYZxyz(5.2015, 5.8291, 5.5528)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40463F #453F46
analogous
#43463F #40463F #3F4641
triadic
#40463F #3F4046 #463F40
tetradic
#40463F #3F4346 #453F46 #46413F
square
#40463F #3F4346 #453F46 #46413F
split-complementary
#40463F #413F46 #463F43
monochromatic
#0F100E #232622 #40463F #5D665C #7B8679

Accessibility & contrast

On white

9.70
#40463F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#40463F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40463F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40463F#FFFFFF#000000##FFFFFF
##40463F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46453F
Deuteranopia (green-blind)
#45443F
Tritanopia (blue-blind)
#404544
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #40463f;
/* rgb */ color: rgb(64, 70, 63);
/* oklch */ color: oklch(38.6% 0.014 141.2);
Tailwind
colors: {
  custom: {
    50: '#747974',
    500: '#40463f',
    950: '#000000',
  },
}
SCSS
$custom: #40463f;
$custom-light: #747974;
$custom-dark: #000000;
JSON
{
  "hex": "#40463f",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 63
  },
  "hsl": {
    "h": 111.429,
    "s": 5.263,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38625,
    "c": 0.01406,
    "h": 141.2
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#40463F
secondary
#736C75
accent
#79AEA7
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080908
muted
#7B7B7B

Preview Lab

Preview with #40463F

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

Preview Lab → · Contrast checker → · Palette generator →

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