#40545E#40545E

#40545E is a dark, muted cyan. Relative luminance 0.082; OKLCH L 43.3% C 0.030 H 229.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#40545E
RGBrgb(64, 84, 94)
HSLhsl(200, 19%, 31%)
HSVhsv(200, 32%, 37%)
CMYKcmyk(31.9%, 10.6%, 0%, 63.1%)
CIE-LABlab(34.47, -4.99, -8.31)
CIE-LCHlch(34.47, 9.69, 239.04°)
OKLaboklab(43.32% -0.0191 -0.0227)
OKLCHoklch(43.32% 0.03 229.9)
XYZxyz(7.3044, 8.2385, 11.7928)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40545E #5E4A40
analogous
#405E59 #40545E #40455E
triadic
#40545E #5E4054 #545E40
tetradic
#40545E #59405E #5E4A40 #455E40
square
#40545E #59405E #5E4A40 #455E40
split-complementary
#40545E #5E4045 #5E5940
monochromatic
#0E1315 #27333A #40545E #597582 #7693A2

Accessibility & contrast

On white

7.93
#40545E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#40545E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40545E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40545E#FFFFFF#000000##FFFFFF
##40545E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#4B505E
Tritanopia (blue-blind)
#375757
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #40545e;
/* rgb */ color: rgb(64, 84, 94);
/* oklch */ color: oklch(43.3% 0.030 229.9);
Tailwind
colors: {
  custom: {
    50: '#76848b',
    500: '#40545e',
    950: '#000000',
  },
}
SCSS
$custom: #40545e;
$custom-light: #76848b;
$custom-dark: #000000;
JSON
{
  "hex": "#40545e",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 94
  },
  "hsl": {
    "h": 200,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.02969,
    "h": 229.9
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#40545E
secondary
#8D776C
accent
#876CBC
background
#F7F8F8
surface
#EDEFF0
border
#C8CACB
text
#080A0C
muted
#7B7C7D

Preview Lab

Preview with #40545E

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

Preview Lab → · Contrast checker → · Palette generator →

#40545E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva