#40908B#40908B

#40908B is a mid, moderate teal. Relative luminance 0.229; OKLCH L 60.2% C 0.078 H 189.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#40908B
RGBrgb(64, 144, 139)
HSLhsl(176, 38%, 41%)
HSVhsv(176, 56%, 56%)
CMYKcmyk(55.6%, 0%, 3.5%, 43.5%)
CIE-LABlab(54.97, -25.60, -4.76)
CIE-LCHlch(54.97, 26.03, 190.54°)
OKLaboklab(60.23% -0.0773 -0.0133)
OKLCHoklch(60.23% 0.078 189.8)
XYZxyz(16.7458, 22.8990, 27.9585)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40908B #904045
analogous
#409063 #40908B #406D90
triadic
#40908B #8B4090 #908B40
tetradic
#40908B #634090 #904045 #6D9040
square
#40908B #634090 #904045 #6D9040
split-complementary
#40908B #90406D #906340
monochromatic
#1A3B39 #2D6662 #40908B #58B5AF #83C8C3

Accessibility & contrast

On white

3.76
#40908B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#40908B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40908B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40908B#FFFFFF#000000##000000
##40908B1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89898B
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#00938E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40908b;
/* rgb */ color: rgb(64, 144, 139);
/* oklch */ color: oklch(60.2% 0.078 189.8);
Tailwind
colors: {
  custom: {
    50: '#7db1ac',
    500: '#40908b',
    950: '#000000',
  },
}
SCSS
$custom: #40908b;
$custom-light: #7db1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40908b",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 139
  },
  "hsl": {
    "h": 176.25,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60229,
    "c": 0.07846,
    "h": 189.8
  },
  "luminance": 0.22901
}

Semantic roles & 50–950 ramp

primary
#40908B
secondary
#B27A7D
accent
#5961CE
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #40908B

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

Preview Lab → · Contrast checker → · Palette generator →

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