#40767F#40767F

#40767F is a mid, muted teal. Relative luminance 0.156; OKLCH L 53.2% C 0.059 H 209.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#40767F
RGBrgb(64, 118, 127)
HSLhsl(189, 33%, 37%)
HSVhsv(189, 50%, 50%)
CMYKcmyk(49.6%, 7.1%, 0%, 50.2%)
CIE-LABlab(46.42, -15.29, -10.50)
CIE-LCHlch(46.42, 18.55, 214.47°)
OKLaboklab(53.22% -0.0514 -0.0289)
OKLCHoklch(53.22% 0.059 209.4)
XYZxyz(12.4221, 15.5781, 22.4268)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40767F #7F4940
analogous
#407F68 #40767F #40577F
triadic
#40767F #7F4076 #767F40
tetradic
#40767F #68407F #7F4940 #577F40
square
#40767F #68407F #7F4940 #577F40
split-complementary
#40767F #7F4057 #7F6840
monochromatic
#172A2E #2B5056 #40767F #559CA8 #7CB4BD

Accessibility & contrast

On white

5.10
#40767F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#40767F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40767F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40767F#FFFFFF#000000##FFFFFF
##40767F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7280
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#1D7A79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #40767f;
/* rgb */ color: rgb(64, 118, 127);
/* oklch */ color: oklch(53.2% 0.059 209.4);
Tailwind
colors: {
  custom: {
    50: '#7a9da4',
    500: '#40767f',
    950: '#000000',
  },
}
SCSS
$custom: #40767f;
$custom-light: #7a9da4;
$custom-dark: #000000;
JSON
{
  "hex": "#40767f",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 127
  },
  "hsl": {
    "h": 188.571,
    "s": 32.984,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53217,
    "c": 0.05897,
    "h": 209.4
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#40767F
secondary
#A87B73
accent
#6E5FC9
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #40767F

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

Preview Lab → · Contrast checker → · Palette generator →

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