#40545F#40545F

#40545F is a dark, muted cyan. Relative luminance 0.083; OKLCH L 43.4% C 0.031 H 232.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#40545F
RGBrgb(64, 84, 95)
HSLhsl(201, 19%, 31%)
HSVhsv(201, 33%, 37%)
CMYKcmyk(32.6%, 11.6%, 0%, 62.7%)
CIE-LABlab(34.51, -4.71, -8.88)
CIE-LCHlch(34.51, 10.05, 242.08°)
OKLaboklab(43.36% -0.0187 -0.0243)
OKLCHoklch(43.36% 0.031 232.4)
XYZxyz(7.3496, 8.2565, 12.0307)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40545F #5F4B40
analogous
#405F5A #40545F #40445F
triadic
#40545F #5F4054 #545F40
tetradic
#40545F #5A405F #5F4B40 #445F40
square
#40545F #5A405F #5F4B40 #445F40
split-complementary
#40545F #5F4044 #5F5A40
monochromatic
#0F1316 #27343A #40545F #597484 #7693A3

Accessibility & contrast

On white

7.92
#40545F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40545F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40545F#FFFFFF#000000##FFFFFF
##40545F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5360
Deuteranopia (green-blind)
#4A505F
Tritanopia (blue-blind)
#365757
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #40545f;
/* rgb */ color: rgb(64, 84, 95);
/* oklch */ color: oklch(43.4% 0.031 232.4);
Tailwind
colors: {
  custom: {
    50: '#76848c',
    500: '#40545f',
    950: '#000000',
  },
}
SCSS
$custom: #40545f;
$custom-light: #76848c;
$custom-dark: #000000;
JSON
{
  "hex": "#40545f",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 201.29,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.03066,
    "h": 232.4
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#40545F
secondary
#8F786C
accent
#886CBC
background
#F7F8F8
surface
#EDEFF0
border
#C8CACB
text
#080A0C
muted
#7B7C7D

Preview Lab

Preview with #40545F

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

Preview Lab → · Contrast checker → · Palette generator →

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