#405050#405050

#405050 is a dark, muted teal. Relative luminance 0.074; OKLCH L 41.8% C 0.020 H 196.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#405050
RGBrgb(64, 80, 80)
HSLhsl(180, 11%, 28%)
HSVhsv(180, 20%, 31%)
CMYKcmyk(20%, 0%, 0%, 68.6%)
CIE-LABlab(32.71, -6.24, -2.08)
CIE-LCHlch(32.71, 6.58, 198.45°)
OKLaboklab(41.76% -0.0193 -0.0057)
OKLCHoklch(41.76% 0.02 196.4)
XYZxyz(6.4306, 7.4063, 8.6786)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405050 #504040
analogous
#405048 #405050 #404850
triadic
#405050 #504050 #505040
tetradic
#405050 #484050 #504040 #485040
square
#405050 #484050 #504040 #485040
split-complementary
#405050 #504048 #504840
monochromatic
#0E1111 #252E2E #405050 #5B7272 #789393

Accessibility & contrast

On white

8.46
#405050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#405050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405050
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405050#FFFFFF#000000##FFFFFF
##4050501.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E50
Deuteranopia (green-blind)
#4B4C50
Tritanopia (blue-blind)
#3B5150
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #405050;
/* rgb */ color: rgb(64, 80, 80);
/* oklch */ color: oklch(41.8% 0.020 196.4);
Tailwind
colors: {
  custom: {
    50: '#758181',
    500: '#405050',
    950: '#000000',
  },
}
SCSS
$custom: #405050;
$custom-light: #758181;
$custom-dark: #000000;
JSON
{
  "hex": "#405050",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 80
  },
  "hsl": {
    "h": 180,
    "s": 11.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.02009,
    "h": 196.4
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#405050
secondary
#7F6D6D
accent
#7474B4
background
#F7F7F7
surface
#EDEEEE
border
#C8C9C9
text
#080A0A
muted
#7B7C7C

Preview Lab

Preview with #405050

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

Preview Lab → · Contrast checker → · Palette generator →

#405050 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva