#40958B#40958B

#40958B is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.5% C 0.083 H 184.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#40958B
RGBrgb(64, 149, 139)
HSLhsl(173, 40%, 42%)
HSVhsv(173, 57%, 58%)
CMYKcmyk(57%, 0%, 6.7%, 41.6%)
CIE-LABlab(56.53, -28.09, -2.45)
CIE-LCHlch(56.53, 28.19, 184.99°)
OKLaboklab(61.5% -0.0831 -0.0071)
OKLCHoklch(61.5% 0.083 184.9)
XYZxyz(17.5200, 24.4473, 28.2166)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40958B #95404A
analogous
#409561 #40958B #407595
triadic
#40958B #8B4095 #958B40
tetradic
#40958B #614095 #95404A #759540
square
#40958B #614095 #95404A #759540
split-complementary
#40958B #954075 #956140
monochromatic
#1B3F3B #2E6A63 #40958B #5AB8AD #85CBC2

Accessibility & contrast

On white

3.57
#40958B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#40958B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40958B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40958B#FFFFFF#000000##000000
##40958B1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8D8B
Deuteranopia (green-blind)
#81838C
Tritanopia (blue-blind)
#009892
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40958b;
/* rgb */ color: rgb(64, 149, 139);
/* oklch */ color: oklch(61.5% 0.083 184.9);
Tailwind
colors: {
  custom: {
    50: '#7db4ac',
    500: '#40958b',
    950: '#000000',
  },
}
SCSS
$custom: #40958b;
$custom-light: #7db4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40958b",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 139
  },
  "hsl": {
    "h": 172.941,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.0834,
    "h": 184.9
  },
  "luminance": 0.24449
}

Semantic roles & 50–950 ramp

primary
#40958B
secondary
#B57C82
accent
#5866D0
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #40958B

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

Preview Lab → · Contrast checker → · Palette generator →

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