#40947E#40947E

#40947E is a mid, moderate teal. Relative luminance 0.238; OKLCH L 60.8% C 0.089 H 173.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#40947E
RGBrgb(64, 148, 126)
HSLhsl(164, 40%, 42%)
HSVhsv(164, 57%, 58%)
CMYKcmyk(56.8%, 0%, 14.9%, 42%)
CIE-LABlab(55.86, -31.00, 4.01)
CIE-LCHlch(55.86, 31.26, 172.64°)
OKLaboklab(60.83% -0.0881 0.0101)
OKLCHoklch(60.83% 0.089 173.4)
XYZxyz(16.4684, 23.7746, 23.4557)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40947E #944056
analogous
#409454 #40947E #408094
triadic
#40947E #7E4094 #947E40
tetradic
#40947E #544094 #944056 #809440
square
#40947E #544094 #944056 #809440
split-complementary
#40947E #944080 #945440
monochromatic
#1B3F35 #2E695A #40947E #5AB89F #84CAB8

Accessibility & contrast

On white

3.65
#40947E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#40947E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40947E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40947E#FFFFFF#000000##000000
##40947E1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8B7D
Deuteranopia (green-blind)
#838280
Tritanopia (blue-blind)
#0E958D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40947e;
/* rgb */ color: rgb(64, 148, 126);
/* oklch */ color: oklch(60.8% 0.089 173.4);
Tailwind
colors: {
  custom: {
    50: '#7db4a3',
    500: '#40947e',
    950: '#000000',
  },
}
SCSS
$custom: #40947e;
$custom-light: #7db4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40947e",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 126
  },
  "hsl": {
    "h": 164.286,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.08867,
    "h": 173.4
  },
  "luminance": 0.23776
}

Semantic roles & 50–950 ramp

primary
#40947E
secondary
#B47B8A
accent
#5878D0
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #40947E

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

Preview Lab → · Contrast checker → · Palette generator →

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