#405158#405158

#405158 is a dark, muted cyan. Relative luminance 0.077; OKLCH L 42.3% C 0.024 H 224.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#405158
RGBrgb(64, 81, 88)
HSLhsl(198, 16%, 30%)
HSVhsv(198, 27%, 35%)
CMYKcmyk(27.3%, 8%, 0%, 65.5%)
CIE-LABlab(33.31, -4.78, -6.28)
CIE-LCHlch(33.31, 7.89, 232.73°)
OKLaboklab(42.32% -0.0172 -0.0171)
OKLCHoklch(42.32% 0.024 224.9)
XYZxyz(6.8177, 7.6792, 10.3536)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405158 #584740
analogous
#405853 #405158 #404558
triadic
#405158 #584051 #515840
tetradic
#405158 #534058 #584740 #455840
square
#405158 #534058 #584740 #455840
split-complementary
#405158 #584045 #585340
monochromatic
#0D1012 #263035 #405158 #5A727B #77919C

Accessibility & contrast

On white

8.28
#405158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#405158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405158
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405158#FFFFFF#000000##FFFFFF
##4051581.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5058
Deuteranopia (green-blind)
#494D58
Tritanopia (blue-blind)
#395353
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405158;
/* rgb */ color: rgb(64, 81, 88);
/* oklch */ color: oklch(42.3% 0.024 224.9);
Tailwind
colors: {
  custom: {
    50: '#758187',
    500: '#405158',
    950: '#000000',
  },
}
SCSS
$custom: #405158;
$custom-light: #758187;
$custom-dark: #000000;
JSON
{
  "hex": "#405158",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 197.5,
    "s": 15.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42318,
    "c": 0.02423,
    "h": 224.9
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#405158
secondary
#87746C
accent
#856FB9
background
#F7F7F8
surface
#EDEEEF
border
#C8C9CA
text
#080A0B
muted
#7B7C7C

Preview Lab

Preview with #405158

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

Preview Lab → · Contrast checker → · Palette generator →

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