#40957B#40957B

#40957B is a mid, moderate teal. Relative luminance 0.240; OKLCH L 61.0% C 0.092 H 170.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#40957B
RGBrgb(64, 149, 123)
HSLhsl(162, 40%, 42%)
HSVhsv(162, 57%, 58%)
CMYKcmyk(57%, 0%, 17.4%, 41.6%)
CIE-LABlab(56.10, -32.22, 6.06)
CIE-LCHlch(56.10, 32.79, 169.34°)
OKLaboklab(61% -0.0907 0.0155)
OKLCHoklch(61% 0.092 170.3)
XYZxyz(16.4353, 24.0134, 22.5040)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40957B #95405A
analogous
#409551 #40957B #408595
triadic
#40957B #7B4095 #957B40
tetradic
#40957B #514095 #95405A #859540
square
#40957B #514095 #95405A #859540
split-complementary
#40957B #954085 #955140
monochromatic
#1B3F34 #2E6A58 #40957B #5AB89B #85CBB5

Accessibility & contrast

On white

3.62
#40957B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#40957B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40957B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40957B#FFFFFF#000000##000000
##40957B1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918C7A
Deuteranopia (green-blind)
#84837D
Tritanopia (blue-blind)
#12968D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40957b;
/* rgb */ color: rgb(64, 149, 123);
/* oklch */ color: oklch(61.0% 0.092 170.3);
Tailwind
colors: {
  custom: {
    50: '#7db4a1',
    500: '#40957b',
    950: '#000000',
  },
}
SCSS
$custom: #40957b;
$custom-light: #7db4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40957b",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 123
  },
  "hsl": {
    "h": 161.647,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.61002,
    "c": 0.092,
    "h": 170.3
  },
  "luminance": 0.24015
}

Semantic roles & 50–950 ramp

primary
#40957B
secondary
#B57C8D
accent
#587DD0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #40957B

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

Preview Lab → · Contrast checker → · Palette generator →

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