#40504A#40504A

#40504A is a dark, muted teal. Relative luminance 0.073; OKLCH L 41.5% C 0.022 H 170.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#40504A
RGBrgb(64, 80, 74)
HSLhsl(158, 11%, 28%)
HSVhsv(158, 20%, 31%)
CMYKcmyk(20%, 0%, 7.5%, 68.6%)
CIE-LABlab(32.53, -7.70, 1.46)
CIE-LCHlch(32.53, 7.83, 169.28°)
OKLaboklab(41.55% -0.0221 0.0037)
OKLCHoklch(41.55% 0.022 170.4)
XYZxyz(6.2187, 7.3215, 7.5628)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40504A #504046
analogous
#405042 #40504A #404E50
triadic
#40504A #4A4050 #504A40
tetradic
#40504A #424050 #504046 #4E5040
square
#40504A #424050 #504046 #4E5040
split-complementary
#40504A #50404E #504240
monochromatic
#0E1110 #252E2B #40504A #5B7269 #789389

Accessibility & contrast

On white

8.52
#40504A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#40504A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40504A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40504A#FFFFFF#000000##FFFFFF
##40504A1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#4C4C4A
Tritanopia (blue-blind)
#3D504E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40504a;
/* rgb */ color: rgb(64, 80, 74);
/* oklch */ color: oklch(41.5% 0.022 170.4);
Tailwind
colors: {
  custom: {
    50: '#75817c',
    500: '#40504a',
    950: '#000000',
  },
}
SCSS
$custom: #40504a;
$custom-light: #75817c;
$custom-dark: #000000;
JSON
{
  "hex": "#40504a",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 74
  },
  "hsl": {
    "h": 157.5,
    "s": 11.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4155,
    "c": 0.02246,
    "h": 170.4
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#40504A
secondary
#7F6D74
accent
#748CB4
background
#F7F7F7
surface
#EDEEEE
border
#C8C9C9
text
#080A09
muted
#7B7C7B

Preview Lab

Preview with #40504A

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

Preview Lab → · Contrast checker → · Palette generator →

#40504A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva