#405E52#405E52

#405E52 is a mid, muted teal. Relative luminance 0.097; OKLCH L 45.4% C 0.041 H 167.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#405E52
RGBrgb(64, 94, 82)
HSLhsl(156, 19%, 31%)
HSVhsv(156, 32%, 37%)
CMYKcmyk(31.9%, 0%, 12.8%, 63.1%)
CIE-LABlab(37.31, -13.99, 3.35)
CIE-LCHlch(37.31, 14.38, 166.52°)
OKLaboklab(45.44% -0.0397 0.0086)
OKLCHoklch(45.44% 0.041 167.7)
XYZxyz(7.6395, 9.7042, 9.4516)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E52 #5E404C
analogous
#405E43 #405E52 #405B5E
triadic
#405E52 #52405E #5E5240
tetradic
#405E52 #43405E #5E404C #5B5E40
square
#405E52 #43405E #5E404C #5B5E40
split-complementary
#405E52 #5E405B #5E4340
monochromatic
#0E1512 #273A32 #405E52 #598272 #76A291

Accessibility & contrast

On white

7.14
#405E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#405E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E52
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E52#FFFFFF#000000##FFFFFF
##405E521.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5A51
Deuteranopia (green-blind)
#575653
Tritanopia (blue-blind)
#395E5A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #405e52;
/* rgb */ color: rgb(64, 94, 82);
/* oklch */ color: oklch(45.4% 0.041 167.7);
Tailwind
colors: {
  custom: {
    50: '#768b82',
    500: '#405e52',
    950: '#000000',
  },
}
SCSS
$custom: #405e52;
$custom-light: #768b82;
$custom-dark: #000000;
JSON
{
  "hex": "#405e52",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 82
  },
  "hsl": {
    "h": 156,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.04064,
    "h": 167.7
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#405E52
secondary
#8D6C7A
accent
#6C8CBC
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080C0A
muted
#7B7D7C

Preview Lab

Preview with #405E52

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

Preview Lab → · Contrast checker → · Palette generator →

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