#40706B#40706B

#40706B is a mid, muted teal. Relative luminance 0.137; OKLCH L 50.9% C 0.053 H 187.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#40706B
RGBrgb(64, 112, 107)
HSLhsl(174, 27%, 35%)
HSVhsv(174, 43%, 44%)
CMYKcmyk(42.9%, 0%, 4.5%, 56.1%)
CIE-LABlab(43.86, -17.62, -2.34)
CIE-LCHlch(43.86, 17.78, 187.58°)
OKLaboklab(50.95% -0.0527 -0.0066)
OKLCHoklch(50.95% 0.053 187.1)
XYZxyz(10.5613, 13.7391, 16.0024)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40706B #704045
analogous
#407053 #40706B #405D70
triadic
#40706B #6B4070 #706B40
tetradic
#40706B #534070 #704045 #5D7040
square
#40706B #534070 #704045 #5D7040
split-complementary
#40706B #70405D #705340
monochromatic
#132221 #2A4946 #40706B #569790 #78B2AC

Accessibility & contrast

On white

5.60
#40706B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#40706B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40706B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40706B#FFFFFF#000000##FFFFFF
##40706B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6B6B
Deuteranopia (green-blind)
#63656C
Tritanopia (blue-blind)
#2C726E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #40706b;
/* rgb */ color: rgb(64, 112, 107);
/* oklch */ color: oklch(50.9% 0.053 187.1);
Tailwind
colors: {
  custom: {
    50: '#789995',
    500: '#40706b',
    950: '#000000',
  },
}
SCSS
$custom: #40706b;
$custom-light: #789995;
$custom-dark: #000000;
JSON
{
  "hex": "#40706b",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 107
  },
  "hsl": {
    "h": 173.75,
    "s": 27.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.05315,
    "h": 187.1
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#40706B
secondary
#9D6F74
accent
#646EC4
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#090E0D
muted
#7B7E7E

Preview Lab

Preview with #40706B

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

Preview Lab → · Contrast checker → · Palette generator →

#40706B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva