#40A6B2#40A6B2

#40A6B2 is a light, moderate teal. Relative luminance 0.316; OKLCH L 67.1% C 0.094 H 206.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#40A6B2
RGBrgb(64, 166, 178)
HSLhsl(186, 47%, 47%)
HSVhsv(186, 64%, 70%)
CMYKcmyk(64%, 6.7%, 0%, 30.2%)
CIE-LABlab(62.99, -25.40, -14.91)
CIE-LCHlch(62.99, 29.45, 210.42°)
OKLaboklab(67.12% -0.0845 -0.0413)
OKLCHoklch(67.12% 0.094 206.1)
XYZxyz(23.7830, 31.5742, 46.9519)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A6B2 #B24C40
analogous
#40B285 #40A6B2 #406DB2
triadic
#40A6B2 #B240A6 #A6B240
tetradic
#40A6B2 #8540B2 #B24C40 #6DB240
square
#40A6B2 #8540B2 #B24C40 #6DB240
split-complementary
#40A6B2 #B2406D #B28540
monochromatic
#205258 #307C85 #40A6B2 #67BEC8 #94D1D8

Accessibility & contrast

On white

2.87
#40A6B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#40A6B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A6B2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A6B2#FFFFFF#000000##000000
##40A6B21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A0B3
Deuteranopia (green-blind)
#8893B2
Tritanopia (blue-blind)
#00ADA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a6b2;
/* rgb */ color: rgb(64, 166, 178);
/* oklch */ color: oklch(67.1% 0.094 206.1);
Tailwind
colors: {
  custom: {
    50: '#82c0c9',
    500: '#40a6b2',
    950: '#000000',
  },
}
SCSS
$custom: #40a6b2;
$custom-light: #82c0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#40a6b2",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 178
  },
  "hsl": {
    "h": 186.316,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67117,
    "c": 0.09411,
    "h": 206.1
  },
  "luminance": 0.31577
}

Semantic roles & 50–950 ramp

primary
#40A6B2
secondary
#C4908A
accent
#5F51D7
background
#F8FBFC
surface
#F0F7F8
border
#CBD0D1
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #40A6B2

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

Preview Lab → · Contrast checker → · Palette generator →

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