#405C5C#405C5C

#405C5C is a mid, muted teal. Relative luminance 0.095; OKLCH L 45.3% C 0.033 H 196.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#405C5C
RGBrgb(64, 92, 92)
HSLhsl(180, 18%, 31%)
HSVhsv(180, 30%, 36%)
CMYKcmyk(30.4%, 0%, 0%, 63.9%)
CIE-LABlab(36.96, -10.32, -3.35)
CIE-LCHlch(36.96, 10.85, 197.98°)
OKLaboklab(45.27% -0.0319 -0.0092)
OKLCHoklch(45.27% 0.033 196)
XYZxyz(7.8726, 9.5166, 11.5452)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C5C #5C4040
analogous
#405C4E #405C5C #404E5C
triadic
#405C5C #5C405C #5C5C40
tetradic
#405C5C #4E405C #5C4040 #4E5C40
square
#405C5C #4E405C #5C4040 #4E5C40
split-complementary
#405C5C #5C404E #5C4E40
monochromatic
#0E1414 #273838 #405C5C #598080 #76A0A0

Accessibility & contrast

On white

7.23
#405C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#405C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C5C
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C5C#FFFFFF#000000##FFFFFF
##405C5C1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595C
Deuteranopia (green-blind)
#53555C
Tritanopia (blue-blind)
#365E5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #405c5c;
/* rgb */ color: rgb(64, 92, 92);
/* oklch */ color: oklch(45.3% 0.033 196.0);
Tailwind
colors: {
  custom: {
    50: '#768a8a',
    500: '#405c5c',
    950: '#000000',
  },
}
SCSS
$custom: #405c5c;
$custom-light: #768a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#405c5c",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 92
  },
  "hsl": {
    "h": 180,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.03324,
    "h": 196
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#405C5C
secondary
#8B6C6C
accent
#6D6DBB
background
#F7F8F8
surface
#EDF0F0
border
#C8CBCB
text
#080B0B
muted
#7B7C7C

Preview Lab

Preview with #405C5C

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

Preview Lab → · Contrast checker → · Palette generator →

#405C5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva