#40665E#40665E

#40665E is a mid, muted teal. Relative luminance 0.114; OKLCH L 47.9% C 0.045 H 179.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#40665E
RGBrgb(64, 102, 94)
HSLhsl(167, 23%, 33%)
HSVhsv(167, 37%, 40%)
CMYKcmyk(37.3%, 0%, 7.8%, 60%)
CIE-LABlab(40.25, -15.52, 0.24)
CIE-LCHlch(40.25, 15.52, 179.10°)
OKLaboklab(47.92% -0.0453 0.0004)
OKLCHoklch(47.92% 0.045 179.5)
XYZxyz(8.8854, 11.4003, 12.3198)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40665E #664048
analogous
#40664B #40665E #405B66
triadic
#40665E #5E4066 #665E40
tetradic
#40665E #4B4066 #664048 #5B6640
square
#40665E #4B4066 #664048 #5B6640
split-complementary
#40665E #66405B #664B40
monochromatic
#111B19 #28403B #40665E #588C81 #77AA9F

Accessibility & contrast

On white

6.40
#40665E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#40665E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40665E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40665E#FFFFFF#000000##FFFFFF
##40665E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63625E
Deuteranopia (green-blind)
#5C5D5F
Tritanopia (blue-blind)
#346764
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #40665e;
/* rgb */ color: rgb(64, 102, 94);
/* oklch */ color: oklch(47.9% 0.045 179.5);
Tailwind
colors: {
  custom: {
    50: '#76918b',
    500: '#40665e',
    950: '#000000',
  },
}
SCSS
$custom: #40665e;
$custom-light: #76918b;
$custom-dark: #000000;
JSON
{
  "hex": "#40665e",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 94
  },
  "hsl": {
    "h": 167.368,
    "s": 22.892,
    "l": 32.549
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.04533,
    "h": 179.5
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#40665E
secondary
#956D75
accent
#687BBF
background
#F7F8F8
surface
#EDF0F0
border
#C8CBCB
text
#090D0C
muted
#7B7D7D

Preview Lab

Preview with #40665E

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

Preview Lab → · Contrast checker → · Palette generator →

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