#405F52#405F52

#405F52 is a mid, muted teal. Relative luminance 0.099; OKLCH L 45.7% C 0.042 H 166.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#405F52
RGBrgb(64, 95, 82)
HSLhsl(155, 19%, 31%)
HSVhsv(155, 33%, 37%)
CMYKcmyk(32.6%, 0%, 13.7%, 62.7%)
CIE-LABlab(37.63, -14.55, 3.82)
CIE-LCHlch(37.63, 15.05, 165.29°)
OKLaboklab(45.71% -0.0412 0.0099)
OKLCHoklch(45.71% 0.042 166.5)
XYZxyz(7.7290, 9.8832, 9.4814)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F52 #5F404D
analogous
#405F42 #405F52 #405C5F
triadic
#405F52 #52405F #5F5240
tetradic
#405F52 #42405F #5F404D #5C5F40
square
#405F52 #42405F #5F404D #5C5F40
split-complementary
#405F52 #5F405C #5F4240
monochromatic
#0F1613 #273A32 #405F52 #598472 #76A390

Accessibility & contrast

On white

7.05
#405F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#405F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F52
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F52#FFFFFF#000000##FFFFFF
##405F521.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5B51
Deuteranopia (green-blind)
#585753
Tritanopia (blue-blind)
#395F5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #405f52;
/* rgb */ color: rgb(64, 95, 82);
/* oklch */ color: oklch(45.7% 0.042 166.5);
Tailwind
colors: {
  custom: {
    50: '#768c82',
    500: '#405f52',
    950: '#000000',
  },
}
SCSS
$custom: #405f52;
$custom-light: #768c82;
$custom-dark: #000000;
JSON
{
  "hex": "#405f52",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 82
  },
  "hsl": {
    "h": 154.839,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45705,
    "c": 0.04234,
    "h": 166.5
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#405F52
secondary
#8F6C7B
accent
#6C8DBC
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080C0A
muted
#7B7D7C

Preview Lab

Preview with #405F52

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

Preview Lab → · Contrast checker → · Palette generator →

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