#405454#405454

#405454 is a dark, muted teal. Relative luminance 0.081; OKLCH L 42.9% C 0.025 H 196.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#405454
RGBrgb(64, 84, 84)
HSLhsl(180, 14%, 29%)
HSVhsv(180, 24%, 33%)
CMYKcmyk(23.8%, 0%, 0%, 67.1%)
CIE-LABlab(34.13, -7.65, -2.53)
CIE-LCHlch(34.13, 8.06, 198.27°)
OKLaboklab(42.93% -0.0236 -0.0069)
OKLCHoklch(42.93% 0.025 196.3)
XYZxyz(6.8844, 8.0705, 9.5808)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405454 #544040
analogous
#40544A #405454 #404A54
triadic
#405454 #544054 #545440
tetradic
#405454 #4A4054 #544040 #4A5440
square
#405454 #4A4054 #544040 #4A5440
split-complementary
#405454 #54404A #544A40
monochromatic
#0D1111 #263131 #405454 #5A7777 #779797

Accessibility & contrast

On white

8.03
#405454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#405454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405454
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405454#FFFFFF#000000##FFFFFF
##4054541.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515254
Deuteranopia (green-blind)
#4D4F54
Tritanopia (blue-blind)
#3A5554
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405454;
/* rgb */ color: rgb(64, 84, 84);
/* oklch */ color: oklch(42.9% 0.025 196.3);
Tailwind
colors: {
  custom: {
    50: '#758484',
    500: '#405454',
    950: '#000000',
  },
}
SCSS
$custom: #405454;
$custom-light: #758484;
$custom-dark: #000000;
JSON
{
  "hex": "#405454",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 84
  },
  "hsl": {
    "h": 180,
    "s": 13.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.02464,
    "h": 196.3
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#405454
secondary
#836D6D
accent
#7171B6
background
#F7F8F8
surface
#EDEFEF
border
#C8CACA
text
#080A0A
muted
#7B7C7C

Preview Lab

Preview with #405454

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

Preview Lab → · Contrast checker → · Palette generator →

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