#405052#405052

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

Color values

HEX#405052
RGBrgb(64, 80, 82)
HSLhsl(187, 12%, 29%)
HSVhsv(187, 22%, 32%)
CMYKcmyk(22%, 2.4%, 0%, 67.8%)
CIE-LABlab(32.78, -5.73, -3.25)
CIE-LCHlch(32.78, 6.59, 209.59°)
OKLaboklab(41.83% -0.0183 -0.0088)
OKLCHoklch(41.83% 0.02 205.7)
XYZxyz(6.5056, 7.4363, 9.0736)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405052 #524240
analogous
#40524B #405052 #404752
triadic
#405052 #524050 #505240
tetradic
#405052 #4B4052 #524240 #475240
square
#405052 #4B4052 #524240 #475240
split-complementary
#405052 #524047 #524B40
monochromatic
#0D1111 #252E30 #405052 #5B7274 #779295

Accessibility & contrast

On white

8.44
#405052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#405052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405052
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405052#FFFFFF#000000##FFFFFF
##4050521.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F52
Deuteranopia (green-blind)
#4A4C52
Tritanopia (blue-blind)
#3B5151
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #405052;
/* rgb */ color: rgb(64, 80, 82);
/* oklch */ color: oklch(41.8% 0.020 205.7);
Tailwind
colors: {
  custom: {
    50: '#758182',
    500: '#405052',
    950: '#000000',
  },
}
SCSS
$custom: #405052;
$custom-light: #758182;
$custom-dark: #000000;
JSON
{
  "hex": "#405052",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 82
  },
  "hsl": {
    "h": 186.667,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.02035,
    "h": 205.7
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#405052
secondary
#816F6D
accent
#7A73B5
background
#F7F7F7
surface
#EDEEEE
border
#C8C9C9
text
#080A0A
muted
#7B7C7C

Preview Lab

Preview with #405052

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

Preview Lab → · Contrast checker → · Palette generator →

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