#405752#405752

#405752 is a dark, muted teal. Relative luminance 0.085; OKLCH L 43.6% C 0.029 H 180.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#405752
RGBrgb(64, 87, 82)
HSLhsl(167, 15%, 30%)
HSVhsv(167, 26%, 34%)
CMYKcmyk(26.4%, 0%, 5.7%, 65.9%)
CIE-LABlab(35.03, -9.94, 0.06)
CIE-LCHlch(35.03, 9.94, 179.67°)
OKLaboklab(43.63% -0.0292 0)
OKLCHoklch(43.63% 0.029 180)
XYZxyz(7.0451, 8.5153, 9.2534)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405752 #574045
analogous
#405747 #405752 #405157
triadic
#405752 #524057 #575240
tetradic
#405752 #474057 #574045 #515740
square
#405752 #474057 #574045 #515740
split-complementary
#405752 #574051 #574740
monochromatic
#0D1211 #263431 #405752 #5A7A73 #779B93

Accessibility & contrast

On white

7.77
#405752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#405752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405752
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405752#FFFFFF#000000##FFFFFF
##4057521.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555452
Deuteranopia (green-blind)
#515152
Tritanopia (blue-blind)
#3A5855
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #405752;
/* rgb */ color: rgb(64, 87, 82);
/* oklch */ color: oklch(43.6% 0.029 180.0);
Tailwind
colors: {
  custom: {
    50: '#758682',
    500: '#405752',
    950: '#000000',
  },
}
SCSS
$custom: #405752;
$custom-light: #758682;
$custom-dark: #000000;
JSON
{
  "hex": "#405752",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 82
  },
  "hsl": {
    "h": 166.957,
    "s": 15.232,
    "l": 29.608
  },
  "oklch": {
    "l": 0.43626,
    "c": 0.02921,
    "h": 180
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#405752
secondary
#866C72
accent
#707FB8
background
#F7F8F7
surface
#EDEFEE
border
#C8CAC9
text
#080B0A
muted
#7B7C7C

Preview Lab

Preview with #405752

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

Preview Lab → · Contrast checker → · Palette generator →

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