#40666B#40666B

#40666B is a mid, muted teal. Relative luminance 0.117; OKLCH L 48.4% C 0.044 H 206.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#40666B
RGBrgb(64, 102, 107)
HSLhsl(187, 25%, 34%)
HSVhsv(187, 40%, 42%)
CMYKcmyk(40.2%, 4.7%, 0%, 58%)
CIE-LABlab(40.66, -12.03, -7.09)
CIE-LCHlch(40.66, 13.96, 210.49°)
OKLaboklab(48.39% -0.0392 -0.0194)
OKLCHoklch(48.39% 0.044 206.3)
XYZxyz(9.5186, 11.6536, 15.6549)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40666B #6B4540
analogous
#406B5A #40666B #40506B
triadic
#40666B #6B4066 #666B40
tetradic
#40666B #5A406B #6B4540 #506B40
square
#40666B #5A406B #6B4540 #506B40
split-complementary
#40666B #6B4050 #6B5A40
monochromatic
#121D1E #294145 #40666B #578B91 #77A8AE

Accessibility & contrast

On white

6.30
#40666B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#40666B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40666B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40666B#FFFFFF#000000##FFFFFF
##40666B1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60636B
Deuteranopia (green-blind)
#595D6B
Tritanopia (blue-blind)
#2F6967
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #40666b;
/* rgb */ color: rgb(64, 102, 107);
/* oklch */ color: oklch(48.4% 0.044 206.3);
Tailwind
colors: {
  custom: {
    50: '#779195',
    500: '#40666b',
    950: '#000000',
  },
}
SCSS
$custom: #40666b;
$custom-light: #779195;
$custom-dark: #000000;
JSON
{
  "hex": "#40666b",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 107
  },
  "hsl": {
    "h": 186.977,
    "s": 25.146,
    "l": 33.529
  },
  "oklch": {
    "l": 0.48385,
    "c": 0.0438,
    "h": 206.3
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#40666B
secondary
#99736E
accent
#7166C2
background
#F7F8F9
surface
#EDF0F1
border
#C8CBCB
text
#090C0D
muted
#7B7D7E

Preview Lab

Preview with #40666B

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

Preview Lab → · Contrast checker → · Palette generator →

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