#40947B#40947B

#40947B is a mid, moderate teal. Relative luminance 0.237; OKLCH L 60.7% C 0.091 H 170.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#40947B
RGBrgb(64, 148, 123)
HSLhsl(162, 40%, 42%)
HSVhsv(162, 57%, 58%)
CMYKcmyk(56.8%, 0%, 16.9%, 42%)
CIE-LABlab(55.78, -31.75, 5.61)
CIE-LCHlch(55.78, 32.24, 169.98°)
OKLaboklab(60.74% -0.0895 0.0143)
OKLCHoklch(60.74% 0.091 170.9)
XYZxyz(16.2778, 23.6983, 22.4515)
Luminance0.2370 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40947B #944059
analogous
#409451 #40947B #408394
triadic
#40947B #7B4094 #947B40
tetradic
#40947B #514094 #944059 #839440
square
#40947B #514094 #944059 #839440
split-complementary
#40947B #944083 #945140
monochromatic
#1B3F34 #2E6957 #40947B #5AB89C #84CAB5

Accessibility & contrast

On white

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

On black

5.74
#40947B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40947B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40947B#FFFFFF#000000##000000
##40947B1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908B7A
Deuteranopia (green-blind)
#83827D
Tritanopia (blue-blind)
#12958D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40947b;
/* rgb */ color: rgb(64, 148, 123);
/* oklch */ color: oklch(60.7% 0.091 170.9);
Tailwind
colors: {
  custom: {
    50: '#7cb4a1',
    500: '#40947b',
    950: '#000000',
  },
}
SCSS
$custom: #40947b;
$custom-light: #7cb4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40947b",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 123
  },
  "hsl": {
    "h": 162.143,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.09067,
    "h": 170.9
  },
  "luminance": 0.237
}

Semantic roles & 50–950 ramp

primary
#40947B
secondary
#B47B8C
accent
#587CD0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #40947B

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

Preview Lab → · Contrast checker → · Palette generator →

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