#40A7BB#40A7BB

#40A7BB is a light, moderate teal. Relative luminance 0.323; OKLCH L 67.7% C 0.097 H 212.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#40A7BB
RGBrgb(64, 167, 187)
HSLhsl(190, 49%, 49%)
HSVhsv(190, 66%, 73%)
CMYKcmyk(65.8%, 10.7%, 0%, 26.7%)
CIE-LABlab(63.60, -23.18, -19.02)
CIE-LCHlch(63.60, 29.98, 219.37°)
OKLaboklab(67.71% -0.0819 -0.0528)
OKLCHoklch(67.71% 0.097 212.8)
XYZxyz(24.8990, 32.3126, 51.9288)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7BB #BB5440
analogous
#40BB92 #40A7BB #406ABB
triadic
#40A7BB #BB40A7 #A7BB40
tetradic
#40A7BB #9240BB #BB5440 #6ABB40
square
#40A7BB #9240BB #BB5440 #6ABB40
split-complementary
#40A7BB #BB406A #BB9240
monochromatic
#215660 #307E8D #40A7BB #6CBDCD #99D1DC

Accessibility & contrast

On white

2.81
#40A7BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#40A7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7BB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7BB#FFFFFF#000000##000000
##40A7BB1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A2BC
Deuteranopia (green-blind)
#8694BB
Tritanopia (blue-blind)
#00AFAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40a7bb;
/* rgb */ color: rgb(64, 167, 187);
/* oklch */ color: oklch(67.7% 0.097 212.8);
Tailwind
colors: {
  custom: {
    50: '#83c1cf',
    500: '#40a7bb',
    950: '#000000',
  },
}
SCSS
$custom: #40a7bb;
$custom-light: #83c1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7bb",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 187
  },
  "hsl": {
    "h": 189.756,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67712,
    "c": 0.09745,
    "h": 212.8
  },
  "luminance": 0.32315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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