#40645F#40645F

#40645F is a mid, muted teal. Relative luminance 0.110; OKLCH L 47.4% C 0.042 H 184.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#40645F
RGBrgb(64, 100, 95)
HSLhsl(172, 22%, 32%)
HSVhsv(172, 36%, 39%)
CMYKcmyk(36%, 0%, 5%, 60.8%)
CIE-LABlab(39.63, -14.14, -1.27)
CIE-LCHlch(39.63, 14.20, 185.13°)
OKLaboklab(47.43% -0.042 -0.0036)
OKLCHoklch(47.43% 0.042 184.9)
XYZxyz(8.7364, 11.0300, 12.4929)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40645F #644045
analogous
#40644D #40645F #405764
triadic
#40645F #5F4064 #645F40
tetradic
#40645F #4D4064 #644045 #576440
square
#40645F #4D4064 #644045 #576440
split-complementary
#40645F #644057 #644D40
monochromatic
#101918 #283F3C #40645F #588982 #77A8A1

Accessibility & contrast

On white

6.55
#40645F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#40645F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40645F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40645F#FFFFFF#000000##FFFFFF
##40645F1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61605F
Deuteranopia (green-blind)
#5A5B60
Tritanopia (blue-blind)
#346562
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #40645f;
/* rgb */ color: rgb(64, 100, 95);
/* oklch */ color: oklch(47.4% 0.042 184.9);
Tailwind
colors: {
  custom: {
    50: '#76908c',
    500: '#40645f',
    950: '#000000',
  },
}
SCSS
$custom: #40645f;
$custom-light: #76908c;
$custom-dark: #000000;
JSON
{
  "hex": "#40645f",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 95
  },
  "hsl": {
    "h": 171.667,
    "s": 21.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.47433,
    "c": 0.0422,
    "h": 184.9
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#40645F
secondary
#936C72
accent
#6975BE
background
#F7F8F8
surface
#EDF0F0
border
#C8CBCB
text
#080C0C
muted
#7B7D7D

Preview Lab

Preview with #40645F

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

Preview Lab → · Contrast checker → · Palette generator →

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