#405054#405054

#405054 is a dark, muted cyan. Relative luminance 0.075; OKLCH L 41.9% C 0.021 H 214.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#405054
RGBrgb(64, 80, 84)
HSLhsl(192, 14%, 29%)
HSVhsv(192, 24%, 33%)
CMYKcmyk(23.8%, 4.8%, 0%, 67.1%)
CIE-LABlab(32.85, -5.22, -4.42)
CIE-LCHlch(32.85, 6.84, 220.30°)
OKLaboklab(41.91% -0.0174 -0.012)
OKLCHoklch(41.91% 0.021 214.6)
XYZxyz(6.5828, 7.4672, 9.4803)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405054 #544440
analogous
#40544E #405054 #404654
triadic
#405054 #544050 #505440
tetradic
#405054 #4E4054 #544440 #465440
square
#405054 #4E4054 #544440 #465440
split-complementary
#405054 #544046 #544E40
monochromatic
#0D1111 #262F31 #405054 #5A7177 #779197

Accessibility & contrast

On white

8.42
#405054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405054
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405054#FFFFFF#000000##FFFFFF
##4050541.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F54
Deuteranopia (green-blind)
#4A4C54
Tritanopia (blue-blind)
#3A5251
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #405054;
/* rgb */ color: rgb(64, 80, 84);
/* oklch */ color: oklch(41.9% 0.021 214.6);
Tailwind
colors: {
  custom: {
    50: '#758184',
    500: '#405054',
    950: '#000000',
  },
}
SCSS
$custom: #405054;
$custom-light: #758184;
$custom-dark: #000000;
JSON
{
  "hex": "#405054",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 84
  },
  "hsl": {
    "h": 192,
    "s": 13.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41909,
    "c": 0.02115,
    "h": 214.6
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#405054
secondary
#83716D
accent
#7F71B6
background
#F7F7F8
surface
#EDEEEF
border
#C8C9CA
text
#080A0A
muted
#7B7C7C

Preview Lab

Preview with #405054

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

Preview Lab → · Contrast checker → · Palette generator →

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