#40A2AB#40A2AB

#40A2AB is a light, moderate teal. Relative luminance 0.299; OKLCH L 65.9% C 0.091 H 203.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#40A2AB
RGBrgb(64, 162, 171)
HSLhsl(185, 46%, 46%)
HSVhsv(185, 63%, 67%)
CMYKcmyk(62.6%, 5.3%, 0%, 32.9%)
CIE-LABlab(61.54, -25.46, -13.16)
CIE-LCHlch(61.54, 28.67, 207.34°)
OKLaboklab(65.87% -0.0832 -0.0365)
OKLCHoklch(65.87% 0.091 203.7)
XYZxyz(22.3822, 29.8686, 43.1058)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2AB #AB4940
analogous
#40AB7E #40A2AB #406CAB
triadic
#40A2AB #AB40A2 #A2AB40
tetradic
#40A2AB #7E40AB #AB4940 #6CAB40
square
#40A2AB #7E40AB #AB4940 #6CAB40
split-complementary
#40A2AB #AB406C #AB7E40
monochromatic
#1F4E52 #2F787E #40A2AB #63BDC5 #90D0D5

Accessibility & contrast

On white

3.01
#40A2AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#40A2AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A2AB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2AB#FFFFFF#000000##000000
##40A2AB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#969CAC
Deuteranopia (green-blind)
#868FAB
Tritanopia (blue-blind)
#00A8A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a2ab;
/* rgb */ color: rgb(64, 162, 171);
/* oklch */ color: oklch(65.9% 0.091 203.7);
Tailwind
colors: {
  custom: {
    50: '#81bec4',
    500: '#40a2ab',
    950: '#000000',
  },
}
SCSS
$custom: #40a2ab;
$custom-light: #81bec4;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2ab",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 171
  },
  "hsl": {
    "h": 185.047,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65872,
    "c": 0.09088,
    "h": 203.7
  },
  "luminance": 0.29871
}

Semantic roles & 50–950 ramp

primary
#40A2AB
secondary
#C18B86
accent
#5E53D5
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0B1212
muted
#7C8181

Preview Lab

Preview with #40A2AB

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

Preview Lab → · Contrast checker → · Palette generator →

#40A2AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva