#405058#405058

#405058 is a dark, muted cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.024 H 229.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#405058
RGBrgb(64, 80, 88)
HSLhsl(200, 16%, 30%)
HSVhsv(200, 27%, 35%)
CMYKcmyk(27.3%, 9.1%, 0%, 65.5%)
CIE-LABlab(32.99, -4.16, -6.75)
CIE-LCHlch(32.99, 7.93, 238.38°)
OKLaboklab(42.07% -0.0156 -0.0184)
OKLCHoklch(42.07% 0.024 229.7)
XYZxyz(6.7440, 7.5316, 10.3290)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405058 #584840
analogous
#405854 #405058 #404458
triadic
#405058 #584050 #505840
tetradic
#405058 #544058 #584840 #445840
square
#405058 #544058 #584840 #445840
split-complementary
#405058 #584044 #585440
monochromatic
#0D1012 #263035 #405058 #5A707B #778F9C

Accessibility & contrast

On white

8.38
#405058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#405058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405058
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405058#FFFFFF#000000##FFFFFF
##4050581.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F58
Deuteranopia (green-blind)
#484C58
Tritanopia (blue-blind)
#395252
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405058;
/* rgb */ color: rgb(64, 80, 88);
/* oklch */ color: oklch(42.1% 0.024 229.7);
Tailwind
colors: {
  custom: {
    50: '#758187',
    500: '#405058',
    950: '#000000',
  },
}
SCSS
$custom: #405058;
$custom-light: #758187;
$custom-dark: #000000;
JSON
{
  "hex": "#405058",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 88
  },
  "hsl": {
    "h": 200,
    "s": 15.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42067,
    "c": 0.02412,
    "h": 229.7
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#405058
secondary
#87756C
accent
#886FB9
background
#F7F7F8
surface
#EDEEEF
border
#C8C9CA
text
#080A0B
muted
#7B7C7C

Preview Lab

Preview with #405058

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

Preview Lab → · Contrast checker → · Palette generator →

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