#40B5B2#40B5B2

#40B5B2 is a light, moderate teal. Relative luminance 0.374; OKLCH L 70.8% C 0.103 H 192.7°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#40B5B2
RGBrgb(64, 181, 178)
HSLhsl(178, 48%, 48%)
HSVhsv(178, 65%, 71%)
CMYKcmyk(64.6%, 0%, 1.7%, 29%)
CIE-LABlab(67.54, -32.74, -8.09)
CIE-LCHlch(67.54, 33.72, 193.89°)
OKLaboklab(70.8% -0.1003 -0.0225)
OKLCHoklch(70.8% 0.103 192.7)
XYZxyz(26.6705, 37.3491, 47.9144)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B5B2 #B54043
analogous
#40B578 #40B5B2 #407DB5
triadic
#40B5B2 #B240B5 #B5B240
tetradic
#40B5B2 #7840B5 #B54043 #7DB540
square
#40B5B2 #7840B5 #B54043 #7DB540
split-complementary
#40B5B2 #B5407D #B57840
monochromatic
#205B59 #308886 #40B5B2 #68CAC7 #96DAD8

Accessibility & contrast

On white

2.48
#40B5B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#40B5B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B5B2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B5B2#FFFFFF#000000##000000
##40B5B21.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAACB2
Deuteranopia (green-blind)
#989FB3
Tritanopia (blue-blind)
#00BAB4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40b5b2;
/* rgb */ color: rgb(64, 181, 178);
/* oklch */ color: oklch(70.8% 0.103 192.7);
Tailwind
colors: {
  custom: {
    50: '#84cbc9',
    500: '#40b5b2',
    950: '#000000',
  },
}
SCSS
$custom: #40b5b2;
$custom-light: #84cbc9;
$custom-dark: #000000;
JSON
{
  "hex": "#40b5b2",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 178
  },
  "hsl": {
    "h": 178.462,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70795,
    "c": 0.10283,
    "h": 192.7
  },
  "luminance": 0.37352
}

Semantic roles & 50–950 ramp

primary
#40B5B2
secondary
#C58B8D
accent
#5054D7
background
#F8FCFC
surface
#F0F8F8
border
#CBD1D1
text
#0C1313
muted
#7D8282

Preview Lab

Preview with #40B5B2

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

Preview Lab → · Contrast checker → · Palette generator →

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