#40745F#40745F

#40745F is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.6% C 0.066 H 165.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#40745F
RGBrgb(64, 116, 95)
HSLhsl(156, 29%, 35%)
HSVhsv(156, 45%, 45%)
CMYKcmyk(44.8%, 0%, 18.1%, 54.5%)
CIE-LABlab(44.81, -22.78, 6.22)
CIE-LCHlch(44.81, 23.61, 164.72°)
OKLaboklab(51.6% -0.0638 0.016)
OKLCHoklch(51.6% 0.066 165.9)
XYZxyz(10.4245, 14.4062, 13.0556)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40745F #744055
analogous
#407445 #40745F #406F74
triadic
#40745F #5F4074 #745F40
tetradic
#40745F #454074 #744055 #6F7440
square
#40745F #454074 #744055 #6F7440
split-complementary
#40745F #74406F #744540
monochromatic
#14251E #2A4D3F #40745F #569B7F #79B59D

Accessibility & contrast

On white

5.41
#40745F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#40745F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40745F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40745F#FFFFFF#000000##FFFFFF
##40745F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726E5E
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#31746E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #40745f;
/* rgb */ color: rgb(64, 116, 95);
/* oklch */ color: oklch(51.6% 0.066 165.9);
Tailwind
colors: {
  custom: {
    50: '#789c8c',
    500: '#40745f',
    950: '#000000',
  },
}
SCSS
$custom: #40745f;
$custom-light: #789c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40745f",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 95
  },
  "hsl": {
    "h": 155.769,
    "s": 28.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.06581,
    "h": 165.9
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#40745F
secondary
#A07083
accent
#638AC5
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #40745F

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

Preview Lab → · Contrast checker → · Palette generator →

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