#40A8BB#40A8BB

#40A8BB is a light, moderate teal. Relative luminance 0.327; OKLCH L 68.0% C 0.098 H 211.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#40A8BB
RGBrgb(64, 168, 187)
HSLhsl(189, 49%, 49%)
HSVhsv(189, 66%, 73%)
CMYKcmyk(65.8%, 10.2%, 0%, 26.7%)
CIE-LABlab(63.90, -23.69, -18.56)
CIE-LCHlch(63.90, 30.09, 218.08°)
OKLaboklab(67.95% -0.0829 -0.0516)
OKLCHoklch(67.95% 0.098 211.9)
XYZxyz(25.0829, 32.6804, 51.9901)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8BB #BB5340
analogous
#40BB91 #40A8BB #406BBB
triadic
#40A8BB #BB40A8 #A8BB40
tetradic
#40A8BB #9140BB #BB5340 #6BBB40
square
#40A8BB #9140BB #BB5340 #6BBB40
split-complementary
#40A8BB #BB406B #BB9140
monochromatic
#215660 #307F8D #40A8BB #6CBECD #99D2DC

Accessibility & contrast

On white

2.79
#40A8BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#40A8BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8BB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8BB#FFFFFF#000000##000000
##40A8BB1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A2BC
Deuteranopia (green-blind)
#8795BB
Tritanopia (blue-blind)
#00B0AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40a8bb;
/* rgb */ color: rgb(64, 168, 187);
/* oklch */ color: oklch(68.0% 0.098 211.9);
Tailwind
colors: {
  custom: {
    50: '#83c2cf',
    500: '#40a8bb',
    950: '#000000',
  },
}
SCSS
$custom: #40a8bb;
$custom-light: #83c2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8bb",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 187
  },
  "hsl": {
    "h": 189.268,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67954,
    "c": 0.09763,
    "h": 211.9
  },
  "luminance": 0.32683
}

Semantic roles & 50–950 ramp

primary
#40A8BB
secondary
#C8988F
accent
#644FD9
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0C1213
muted
#7D8182

Preview Lab

Preview with #40A8BB

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

Preview Lab → · Contrast checker → · Palette generator →

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