#40947C#40947C

#40947C is a mid, moderate teal. Relative luminance 0.237; OKLCH L 60.8% C 0.090 H 171.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#40947C
RGBrgb(64, 148, 124)
HSLhsl(163, 40%, 42%)
HSVhsv(163, 57%, 58%)
CMYKcmyk(56.8%, 0%, 16.2%, 42%)
CIE-LABlab(55.81, -31.50, 5.08)
CIE-LCHlch(55.81, 31.91, 170.85°)
OKLaboklab(60.77% -0.089 0.0129)
OKLCHoklch(60.77% 0.09 171.7)
XYZxyz(16.3407, 23.7235, 22.7828)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40947C #944058
analogous
#409452 #40947C #408294
triadic
#40947C #7C4094 #947C40
tetradic
#40947C #524094 #944058 #829440
square
#40947C #524094 #944058 #829440
split-complementary
#40947C #944082 #945240
monochromatic
#1B3F34 #2E6958 #40947C #5AB89D #84CAB6

Accessibility & contrast

On white

3.66
#40947C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#40947C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40947C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40947C#FFFFFF#000000##000000
##40947C1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908B7B
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#11958D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40947c;
/* rgb */ color: rgb(64, 148, 124);
/* oklch */ color: oklch(60.8% 0.090 171.7);
Tailwind
colors: {
  custom: {
    50: '#7db4a1',
    500: '#40947c',
    950: '#000000',
  },
}
SCSS
$custom: #40947c;
$custom-light: #7db4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40947c",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 124
  },
  "hsl": {
    "h": 162.857,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.08998,
    "h": 171.7
  },
  "luminance": 0.23725
}

Semantic roles & 50–950 ramp

primary
#40947C
secondary
#B47B8C
accent
#587AD0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #40947C

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

Preview Lab → · Contrast checker → · Palette generator →

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